> For the complete documentation index, see [llms.txt](https://scaleyvalley.gitbook.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scaleyvalley.gitbook.io/main/scaleyvalley.md).

# ScaleyValley

{% hint style="info" %}
**GitBook tip:** your product docs aren't just a reference of all your features! use them to encourage folks to perform certain actions and discover the value in your product.
{% endhint %}

## Overview

ScaleyValley is the first multichain NFT marketplace where users can by NFT providing ERC20 tokens instead. There are three **Valleys**, one per chain:

<table><thead><tr><th width="126">Network</th><th width="126">Valley name</th><th width="218">Contract name</th><th>Feature</th></tr></thead><tbody><tr><td>Ethereum</td><td>EtherValley</td><td>ScaleyValleyCollection</td><td><p>When token is on this chain </p><p>NFT's <strong>level</strong> increases </p></td></tr><tr><td>Polygon</td><td>PolyValley</td><td>Hyp721</td><td><p>When token is on this chain </p><p>NFT's <strong>agility</strong> increases </p></td></tr><tr><td>Optimism</td><td>OptiValley</td><td>Hyp721</td><td><p>When token is on this chain </p><p>NFT's <strong>intellect</strong> increases</p></td></tr></tbody></table>

User can freely bridge a NFT from one **Valley** chain to another if his NFT needs features of other chain.\
\
User can buy NFT only for **resources ERC20** tokens defined by ScaleyValley ecosystem:

| Network       | Token name      | Ticker |
| ------------- | --------------- | ------ |
| Gnosis        | GnosisRiver     | WATER  |
| Zksync        | ZksyncForest    | WOOD   |
| Optimisim     | OptimisticLight | OPTIC  |
| Polygon zkEVM | PolyAir         | AIR    |

There are 3 type of NFT which can be bought for 3 kinds of **resource ERC20** tokens:

<table><thead><tr><th width="150.33333333333331">Kind</th><th>Initial price in resource ERC20</th><th>Description</th></tr></thead><tbody><tr><td>Aquatique</td><td>100 WATER</td><td>Water-inspired explorer of valleys with the strongest <strong>agility</strong> perks</td></tr><tr><td>Druid</td><td>100 WOOD</td><td>Forests lord and protector inspiring forest beings to be strong. Has medium <strong>agility</strong> and <strong>intellect</strong> perks</td></tr><tr><td>Illuminator</td><td>100 OPTIC</td><td>Light enforced creature with mission to illuminate the valley. Has the strongest <strong>intellect</strong> perks</td></tr><tr><td>Hermes</td><td>1000 AIR</td><td>Hermes is fast as wind and nimble as the air. Has the strongest <strong>all</strong> perks</td></tr></tbody></table>

User can select **any** initial Valley he likes no matter of what NFT he has bought.

## Technology stack

#### Resources chains

For ERC20 tokens we use L2 chains with corresponding L1 ERC20 tokens on Ethereum chain

| L2 Chain name | Token name      | Bridged with                    |
| ------------- | --------------- | ------------------------------- |
| Gnosis        | GnosisRiver     | TokenBridge AMB                 |
| Zksync        | ZksyncForest    | Zksync wallet tools in-app      |
| Optimisim     | OptimisticLight | Optimism SDK in-app integration |

**Valley chains**

For **ERC721** tokens we use **HyperLane** to bridge tokens among Valley chains. Main **ERC721** contract is deployed on Ethereum network along with **Hyp721Collateral** utility contract, bridge utility **Hyp721** contracts appear on Polygon and Optimism networks.

<table><thead><tr><th width="126">Network</th><th width="126">Valley name</th><th width="218">Contract name</th><th>Feature</th></tr></thead><tbody><tr><td>Ethereum</td><td>EtherValley</td><td>ScaleyValleyCollection</td><td>Main issuer of tokens</td></tr><tr><td>Ethereum</td><td>EtherValley</td><td>Hyp721Collateral</td><td>Bridge-utility</td></tr><tr><td>Polygon</td><td>PolyValley</td><td>Hyp721</td><td>Bridge-utility</td></tr><tr><td>Optimism</td><td>OptiValley</td><td>Hyp721</td><td>Bridge-utility</td></tr></tbody></table>
