diff --git a/docs/conrefs/cementing-delay.md b/docs/conrefs/cementing-delay.md index 40475bc4..00b1a26a 100644 --- a/docs/conrefs/cementing-delay.md +++ b/docs/conrefs/cementing-delay.md @@ -1,18 +1,20 @@ :::note -
| Etherlink | +Etherlink EVM{/* TEVM */} | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Tezos bridge | -Bridges XTZ and approved FA tokens from Tezos layer 1 to Etherlink and back | +Bridges XTZ and approved FA tokens from Tezos layer 1 to Etherlink EVM{/* TEVM */} and back | Mainnet | Shadownet Testnet | ||||||||||||||||||||||||||||||||||||||||||||||||
| EVM bridge | -Bridges assets from EVM chains to wrapped assets on Etherlink and back | +Bridges assets from EVM chains to wrapped assets on Etherlink EVM{/* TEVM */} and back | Mainnet | Shadownet Testnet | ||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_accounts` | Yes | -This endpoint always returns an empty list because the Etherlink EVM node does not manage any addresses | +This endpoint always returns an empty list because the EVM node does not manage any addresses | |||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_blobBaseFee` | @@ -152,7 +152,7 @@ For information about these endpoints, see [JSON-RPC API](https://ethereum.org/e||||||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_call` | Yes | -Etherlink nodes use the standard Ethereum version of the `eth_call` endpoint instead of the Geth version; see [Sending transactions](/building-on-etherlink/transactions) | +EVM nodes use the standard Ethereum version of the `eth_call` endpoint instead of the Geth version; see [Sending transactions](/evm/developing/transactions) | |||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_chainId` | @@ -172,7 +172,7 @@ For information about these endpoints, see [JSON-RPC API](https://ethereum.org/e||||||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_estimateGas` | Yes | -See [Sending transactions](/building-on-etherlink/transactions) | +See [Sending transactions](/evm/developing/transactions) | |||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_feeHistory` | @@ -197,7 +197,7 @@ For information about these endpoints, see [JSON-RPC API](https://ethereum.org/e||||||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_getBlockByNumber` | Yes | -Note that Etherlink uses a nonstandard way of computing block hashes, so you cannot use the header information from the `eth_getBlockByNumber` endpoint to compute the block hash. | +Note that Etherlink EVM uses a nonstandard way of computing block hashes, so you cannot use the header information from the `eth_getBlockByNumber` endpoint to compute the block hash. | |||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_getBlockReceipts` | @@ -232,7 +232,7 @@ For information about these endpoints, see [JSON-RPC API](https://ethereum.org/e||||||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_getLogs` | Yes | -See [Getting event logs](/building-on-etherlink/transactions#getting-event-logs) | +See [Getting event logs](/evm/developing/transactions#getting-event-logs) | |||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_getProof` | @@ -327,7 +327,7 @@ For information about these endpoints, see [JSON-RPC API](https://ethereum.org/e||||||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_sendRawTransaction` | Yes | -See [Sending transactions](/building-on-etherlink/transactions) | +See [Sending transactions](/evm/developing/transactions) | |||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_sendTransaction` | @@ -347,7 +347,7 @@ For information about these endpoints, see [JSON-RPC API](https://ethereum.org/e||||||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_subscribe` | Experimental | -See Getting updates with WebSockets | +See Getting updates with WebSockets | |||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_syncing` | @@ -389,7 +389,7 @@ For information about these endpoints, see [JSON-RPC API](https://ethereum.org/e ## Geth-specific endpoints -This table shows the Geth endpoints that Etherlink nodes support. +This table shows the Geth endpoints that EVM nodes support. All other Geth endpoints are not supported. For information about these endpoints, see the Geth documentation at https://geth.ethereum.org/docs. @@ -415,7 +415,7 @@ For information about these endpoints, see the Geth documentation at https://get||||||||||||||||||||||||||||||||||||||||||||||||||||
| `eth_call` | No | -Etherlink nodes use the standard Ethereum version of the `eth_call` endpoint instead of the Geth version; see [Sending transactions](/building-on-etherlink/transactions) | +EVM nodes use the standard Ethereum version of the `eth_call` endpoint instead of the Geth version; see [Sending transactions](/evm/developing/transactions) | |||||||||||||||||||||||||||||||||||||||||||||||||
| `txpool_content` | @@ -427,7 +427,7 @@ For information about these endpoints, see the Geth documentation at https://get ## ethers.js SDK methods -The Etherlink EVM node supports these [ethers.js](https://docs.ethers.org/v6/) methods: +The EVM node supports these [ethers.js](https://docs.ethers.org/v6/) methods:
| Etherlink | +Etherlink EVM{/* TEVM */} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Network Name | -Etherlink Mainnet |
+ Etherlink{/* TX */} Mainnet |
|
| EVM version | @@ -45,11 +52,11 @@ or subscribe to a commercial [RPC provider](/tools/node-providers) plan which of|||
| Block Explorer URL | -https://explorer.etherlink.com | +{"https://explorer.etherlink.com"} | |
| Websocket Endpoint | -Not yet publicly available; see Getting updates with WebSockets | +Not yet publicly available; see Getting updates with WebSockets | |
| Relay Endpoint | @@ -73,19 +80,19 @@ or subscribe to a commercial [RPC provider](/tools/node-providers) plan which of|||
| Governance web site | -https://governance.etherlink.com | +{"https://governance.etherlink.com"} | |
| Etherlink smart rollup snapshots | -https://snapshots.tzinit.org/etherlink-mainnet/ | +Etherlink{/* TX */} smart rollup snapshots | +{"https://snapshots.tzinit.org/etherlink-mainnet/"} |
| Etherlink EVM node snapshots | -https://snapshotter-sandbox.nomadic-labs.eu/etherlink-mainnet/ | +EVM node{/* TXN */} snapshots | +{"https://snapshotter-sandbox.nomadic-labs.eu/etherlink-mainnet/"} |
| Pre-images | -https://snapshots.tzinit.org/etherlink-mainnet/wasm_2_0_0 | +{"https://snapshots.tzinit.org/etherlink-mainnet/wasm_2_0_0"} | |
| Genesis date | @@ -98,11 +105,10 @@ or subscribe to a commercial [RPC provider](/tools/node-providers) plan which of
| Network Name | -Etherlink Shadownet Testnet |
+ Etherlink{/* TX */} Shadownet Testnet |
||||||||||||||||||||||||||||||||||||||||||||||
| EVM version | @@ -126,15 +132,15 @@ For information about migrating to it from the old Ghostnet Testnet, see [Migrat||||||||||||||||||||||||||||||||||||||||||||||||
| Block Explorer URL | -https://shadownet.explorer.etherlink.com | +{"https://shadownet.explorer.etherlink.com"} | ||||||||||||||||||||||||||||||||||||||||||||||
| Faucet | -https://shadownet.faucet.etherlink.com/ | +{"https://shadownet.faucet.etherlink.com/"} | ||||||||||||||||||||||||||||||||||||||||||||||
| Websocket Endpoint | -Not yet publicly available; see Getting updates with WebSockets | +Not yet publicly available; see Getting updates with WebSockets | ||||||||||||||||||||||||||||||||||||||||||||||
| Relay Endpoint | @@ -157,16 +163,16 @@ For information about migrating to it from the old Ghostnet Testnet, see [Migrat18 | |||||||||||||||||||||||||||||||||||||||||||||||
| Etherlink smart rollup snapshots | -https://snapshots.tzinit.org/etherlink-shadownet | +Etherlink{/* TX */} smart rollup snapshots | +{"https://snapshots.tzinit.org/etherlink-shadownet"} | |||||||||||||||||||||||||||||||||||||||||||||
| Etherlink EVM node snapshots | -https://snapshotter-sandbox.nomadic-labs.eu | +EVM node{/* TXN */} snapshots | +{"https://snapshotter-sandbox.nomadic-labs.eu"} | |||||||||||||||||||||||||||||||||||||||||||||
| Pre-images | -https://snapshots.tzinit.org/etherlink-shadownet/wasm_2_0_0 | +{"https://snapshots.tzinit.org/etherlink-shadownet/wasm_2_0_0"} | ||||||||||||||||||||||||||||||||||||||||||||||
| Genesis date | @@ -187,30 +193,15 @@ Genesis date | 2nd May 2024 (Mainnet), 28th August 2025 (Shadownet Testnet) EVM-compatible | Yes, up to version Osaka Block speed | Variable; see [Architecture](/network/architecture) Docker image | https://hub.docker.com/r/tezos/tezos-bare images that start with `octez-evm-node` -Debugging | Supported via standard [Ethereum endpoints](/building-on-etherlink/endpoint-support) -Tracing | Supported via standard [Ethereum endpoints](/building-on-etherlink/endpoint-support) -Monitoring | Supported; see [Monitoring Etherlink nodes](/network/monitoring) -WebSockets | Supported; see [Getting updates with WebSockets](/building-on-etherlink/websockets) -Fee structure | Variable, including an execution fee and a fee for data inclusion on layer 1 but not a voluntary tip; see [Fee structure](/network/fees) - -## Differences between Etherlink and Ethereum - -While Etherlink is intended to be fully EVM-compatible, it differs in some ways: - -- As described in [Ethereum endpoint support](/building-on-etherlink/endpoint-support), Etherlink does not support all EVM RPC endpoints. - -- Etherlink calculates gas fees differently; see [Fee structure](/network/fees). - -- Etherlink computes the state world hash with a different function than Ethereum uses. -Therefore it is not compatible with EVM "light clients" that compute states in the way that Ethereum does, with the `Keccak-256` hash function. -Therefore, Etherlink is not compatible with EVM light-client implementations that use this hash function, such as Geth's light client and OpenEthereum. - -- Etherlink computes block hashes in a custom way, not including every header field. -Therefore, you cannot compute Etherlink block hashes with tools such as Geth. +Debugging | Supported via standard [Ethereum endpoints](/evm/developing/endpoint-support) +Tracing | Supported via standard [Ethereum endpoints](/evm/developing/endpoint-support) +Monitoring | Supported; see [Monitoring EVM nodes{/* TXN */}](/network/monitoring) +WebSockets | Supported; see [Getting updates with WebSockets](/evm/developing/websockets) +Fee structure | Variable, including an execution fee and a fee for data inclusion on layer 1 but not a voluntary tip; see [Fee structure](/evm/developing/fees) ## Precompiled contracts -These precompiled contracts are specific to Etherlink: +These precompiled contracts are specific to Etherlink EVM{/* TEVM */}:
| XTZ bridging | +XTZ bridging | ||
| FA bridging | +FA bridging | ||
| Native Atomic Calls | +|||
| NAC FA1.2 | +
| `modexp` | ||||
| `ecadd` | diff --git a/docs/get-started/sending-transactions.md b/docs/evm/get-started/sending-transactions.md similarity index 68% rename from docs/get-started/sending-transactions.md rename to docs/evm/get-started/sending-transactions.md index ea2fdddf..de2a15b7 100644 --- a/docs/get-started/sending-transactions.md +++ b/docs/evm/get-started/sending-transactions.md @@ -2,33 +2,33 @@ title: Sending transactions --- -Sending a transaction on Etherlink is similar to sending a transaction on any other EVM-compatible chain. -Etherlink is compatible with EVM wallets that support custom EVM networks, including Metamask, Coinbase Wallet, Trust Wallet, Altme wallet, and Rabby wallet, as described in [Using your wallet](/get-started/using-your-wallet). +Sending a transaction on Etherlink EVM is similar to sending a transaction on any other EVM-compatible chain. +Etherlink EVM is compatible with EVM wallets that support custom EVM networks, including Metamask, Coinbase Wallet, Trust Wallet, Altme wallet, and Rabby wallet, as described in [Using your wallet](/evm/get-started/using-your-wallet). -Therefore, sending a transaction on Etherlink is just like sending a transaction on other chains: you connect your wallet to a dApp, usually on a web page, and it sends the transaction to your wallet for you to approve and sign. +Therefore, proceed like on other EVM chains: connect your wallet to a dApp, usually on a web page, and the dApp will send the transactions to your wallet for you to approve and sign. ## Why is my transaction still pending? -Etherlink transactions are typically finalized by the sequencer in a few seconds, which allows your wallet to show that the transaction is complete. +Etherlink transactions are typically finalized by the sequencer in a few seconds, which allows your wallet to show that the transaction is complete. -However, if the transaction fee that your wallet included is insufficient to pay the transaction fee, Etherlink drops the transaction, but the wallet may show the transaction in a pending state for a long time. +However, if the fee that your wallet included is insufficient to pay the transaction fee, Etherlink drops the transaction, but the wallet may show the transaction in a pending state for a long time. The amount of time depends on the wallet and its settings. -During this time, the wallet continues to try to send the transaction, and you can wait for it to complete, cancel it, or increase the transaction fee to speed it up. +During this time, the wallet continues to try to send the transaction, and you can wait for it to complete, cancel it, or increase the transaction fee to unlock it. -Wallets can submit transactions with insufficient fees if the necessary fee changes or if they have cached an older, lower price for transactions. +Wallets can submit transactions with insufficient fees if the necessary fee changes dynamically or if they have cached an older, lower price for transactions. -## How does Etherlink calculate transaction fees? +## How does Etherlink EVM calculate transaction fees? -Etherlink calculates transaction fees based on a value known as the _gas price_ or the _base fee per gas_. +Etherlink EVM calculates transaction fees based on a value known as the _gas price_ or the _base fee per gas_. This gas price is the cost per unit of computation required by a transaction. The total fee for a transaction is the gas price multiplied by the units of computation required. Simple transactions like transfers of XTZ have lower transaction fees and more complicated transactions have higher transaction fees. :::important -Because Etherlink calculates transaction fees based on the gas price, most wallets show transaction fees not as a raw amount of XTZ but as a multiple of the current gas price. +Because Etherlink EVM calculates transaction fees based on the gas price, most wallets show transaction fees not as a raw amount of XTZ but as a multiple of the current gas price. To change the maximum transaction fee, you set a new multiple of the gas price to specify the maximum transaction fee that you are willing to accept. -For example, if you set the multiple to 3, the wallet creates a transaction that allows Etherlink to use up to three times the transaction fee as calculated by the current gas price. +For example, if you set the multiple to 3, the wallet creates a transaction that allows Etherlink EVM to use up to three times the transaction fee as calculated by the current gas price. ::: @@ -39,14 +39,13 @@ You can increase the fee at the time you send the transaction or increase the fe :::note -Any difference between the fee that you set and the necessary fee for the transaction is refunded to you. -Etherlink takes only the fee that is necessary to include the transaction at the current gas cost, not the maximum that you set for the transaction. +Etherlink EVM takes only the fee that is necessary to include the transaction at the current gas cost, not the maximum that you set for the transaction. ::: :::note -Etherlink does not use a priority fee (also called a tip) to speed up transactions, so you can ignore the Priority fee field if it is shown. +Etherlink EVM does not use a priority fee (also called a tip) to speed up transactions, so you can ignore the Priority fee field if it is shown. ::: @@ -85,7 +84,7 @@ Now you can send the transaction as usual and accept a higher fee if it is neces ### Increasing the fees on a pending transaction (Metamask) This Metamask transaction is shown as pending because it did not include enough transaction fees. -Etherlink has dropped the transaction but the wallet has not updated its status yet: +Etherlink has dropped the transaction but the wallet has not updated its status yet:
diff --git a/docs/tools/exchanges.md b/docs/evm/tools/exchanges.md
similarity index 76%
rename from docs/tools/exchanges.md
rename to docs/evm/tools/exchanges.md
index 4d178b7c..262d3e1a 100644
--- a/docs/tools/exchanges.md
+++ b/docs/evm/tools/exchanges.md
@@ -22,7 +22,7 @@ These decentralized exchanges allow users and dApps to trade XTZ with other cryp
:::note
-On exchanges, be sure that you are getting Etherlink XTZ and not Tezos layer 1 XTZ or wrapped XTZ (WXTZ) on another platform.
-If you have XTZ on a different platform, you can bridge it to Etherlink XTZ as described in [Bridging](/bridging)
+On exchanges, be sure that you are getting Etherlink EVM XTZ and not Tezos layer 1 XTZ or wrapped XTZ (WXTZ) on another platform.
+If you have XTZ on a different platform, you can bridge it to Etherlink EVM XTZ as described in [Bridging](/evm/bridging/)
:::
diff --git a/docs/tools/game-development.md b/docs/evm/tools/game-development.md
similarity index 71%
rename from docs/tools/game-development.md
rename to docs/evm/tools/game-development.md
index 5fa4312f..4875cadd 100644
--- a/docs/tools/game-development.md
+++ b/docs/evm/tools/game-development.md
@@ -4,19 +4,19 @@ title: Game development
## Tezos Unity SDK
-The [Tezos Unity SDK](https://docs.tezos.com/unity) provides tools that lets you access Etherlink in games and other Unity applications.
+The [Tezos Unity SDK](https://docs.tezos.com/unity) provides tools that lets you access Etherlink EVM in games and other Unity applications.
You can use the SDK to:
- Use a player's account as their account for a game and their wallet as their way of logging in to the game
- Accept payments from players in XTZ
-- Use Etherlink to create game assets, store player inventories, and transfer assets between players
+- Use Etherlink EVM to create game assets, store player inventories, and transfer assets between players
- Verify that users own specific game assets and allow them to transfer them to other players
- Use smart contracts as backend logic for games
The SDK supports wallets that connect via the WalletConnect protocol, including MetaMask.
-It can call Etherlink contracts and initiate transfers of XTZ on Etherlink.
+It can call Etherlink EVM contracts and initiate transfers of XTZ on Etherlink EVM.
-Using Etherlink in a Unity application requires version 4.0.0 of the Tezos Unity SDK or later.
+Using Etherlink EVM in a Unity application requires version 4.0.0 of the Tezos Unity SDK or later.
For more information, see the documentation for the [Tezos Unity SDK](https://docs.tezos.com/unity).
## Sequence
@@ -24,7 +24,7 @@ For more information, see the documentation for the [Tezos Unity SDK](https://do
[Sequence](https://sequence.xyz) is a comprehensive web3 integration platform for game developers that simplifies blockchain implementation with plug-and-play tools.
Sequence offers:
-- Support for Etherlink Mainnet and Shadownet Testnet
+- Support for Etherlink Mainnet and Shadownet Testnet
- Full-stack development support across frontend, backend, and on-chain
- SDK integration for Unity, Unreal, and mobile
- Payment solutions with fiat-crypto onramps and NFT checkout
diff --git a/docs/tools/institutions.md b/docs/evm/tools/institutions.md
similarity index 99%
rename from docs/tools/institutions.md
rename to docs/evm/tools/institutions.md
index 14c3285c..9fa328b0 100644
--- a/docs/tools/institutions.md
+++ b/docs/evm/tools/institutions.md
@@ -11,4 +11,3 @@ title: Institutional tools
- On-chain payments
Find out more about these services [here](https://www.fireblocks.com/pricing/).
-
diff --git a/docs/tools/node-providers.md b/docs/evm/tools/node-providers.md
similarity index 86%
rename from docs/tools/node-providers.md
rename to docs/evm/tools/node-providers.md
index 9105e307..54248b0e 100644
--- a/docs/tools/node-providers.md
+++ b/docs/evm/tools/node-providers.md
@@ -4,7 +4,7 @@ title: Node providers
## Public RPC
-The public RPC nodes at `node.mainnet.etherlink.com` and `https://node.shadownet.etherlink.com` are intended for use within user wallets such as MetaMask and for dApps wanting to test out API access to Etherlink within the rate limits listed below.
+The public RPC nodes at `node.mainnet.etherlink.com` and `https://node.shadownet.etherlink.com` are intended for use within user wallets such as MetaMask and for dApps wanting to test out API access to Etherlink EVM within the rate limits listed below.
For higher limits you must [run your own node](/network/evm-nodes) or subscribe to an API plan offered by a commercial RPC node provider.
### Current restrictions
@@ -34,7 +34,7 @@ These restrictions are kept under frequent review and may be updated without not
## Commercial RPC Providers
-If you don't want to deploy and manage your own Etherlink RPC node, or if you require features or rate limits higher than the public nodes, these companies offer a wide range of free and paid plans:
+If you don't want to deploy and manage your own EVM node, or if you require features or rate limits higher than the public nodes, these companies offer a wide range of free and paid plans:
- Ankr: See https://www.ankr.com/web3-api/chains-list/etherlink/
- BlockPI: See https://blockpi.io/chain/etherlink
diff --git a/docs/evm/tools/onramps.md b/docs/evm/tools/onramps.md
new file mode 100644
index 00000000..5a5e707a
--- /dev/null
+++ b/docs/evm/tools/onramps.md
@@ -0,0 +1,16 @@
+---
+title: On-ramps/off-ramps
+---
+
+On-ramps and off-ramps convert fiat currency to Etherlink EVM tokens and back, which allows your users to use cryptocurrency on your site as seamlessly as they use fiat currency on traditional finance sites.
+On-ramps and off-ramps can integrate with your application to allow it to:
+
+- Use Etherlink EVM as a payment method and financial backend
+- Receive payments in Etherlink EVM without requiring users to buy cryptocurrency manually
+- Make it easier to bridge and swap cryptocurrency tokens
+
+Some on-ramps and off-ramps also allow users to conduct transactions with their wallets directly, without using a specific dApp.
+
+These on-ramps/off-ramps support Etherlink EVM:
+
+- [Transak](https://transak.com)
diff --git a/docs/tools/price-feeds.md b/docs/evm/tools/price-feeds.md
similarity index 90%
rename from docs/tools/price-feeds.md
rename to docs/evm/tools/price-feeds.md
index ebfcf321..65b47635 100644
--- a/docs/tools/price-feeds.md
+++ b/docs/evm/tools/price-feeds.md
@@ -6,7 +6,7 @@ dependencies:
## Pyth
-[Pyth](https://pyth.network/) offers 400+ pull-based price feeds for Etherlink.
+[Pyth](https://pyth.network/) offers 400+ pull-based price feeds for Etherlink EVM.
Learn more about integrating Pyth with their documentation on [How to Use Real-Time Price Data](https://docs.pyth.network/price-feeds/use-real-time-data).
This example contract accepts price update data from Pyth and uses it to provide the price of one XTZ in USD:
@@ -39,9 +39,9 @@ contract PythSimple {
}
```
-To deploy this contract you need the address of the Pyth on-chain application on Etherlink (`0x2880aB155794e7179c9eE2e38200202908C17B43` on Mainnet and Shadownet Testnet) and the ID of the XTZ/USD price feed (`0x0affd4b8ad136a21d79bc82450a325ee12ff55a235abc242666e423b8bcffd03` as listed on the Pyth [Price feed IDs](https://legacy.pyth.network/developers/price-feed-ids)).
+To deploy this contract you need the address of the Pyth on-chain application on Etherlink EVM (`0x2880aB155794e7179c9eE2e38200202908C17B43` on Mainnet and Shadownet Testnet) and the ID of the XTZ/USD price feed (`0x0affd4b8ad136a21d79bc82450a325ee12ff55a235abc242666e423b8bcffd03` as listed on the Pyth [Price feed IDs](https://legacy.pyth.network/developers/price-feed-ids)).
-Here is an example JavaScript application that uses the [`viem`](https://viem.sh/) SDK to call the contract on Etherlink:
+Here is an example JavaScript application that uses the [`viem`](https://viem.sh/) SDK to call the contract on Etherlink EVM:
```javascript
import { createWalletClient, http, getContract } from "viem";
@@ -132,7 +132,7 @@ Pyth also provides prices on Shadownet Testnet but the price does not change.
## RedStone
-[RedStone](https://redstone.finance/) offers push-based price feeds for Etherlink.
+[RedStone](https://redstone.finance/) offers push-based price feeds for Etherlink EVM.
Get started with their [docs](https://docs.redstone.finance/docs/introduction) to learn more.
The example in [`etherlinkcom/infra-instruments`](https://github.com/etherlinkcom/infra-instruments/tree/main) includes a contract that retrieves pricing data from RedStone for multiple assets.
@@ -187,17 +187,17 @@ contract RedStoneSimple {
To deploy this contract you need the address of the RedStone contract that provides the XTZ/USD price feed:
-- `0xe92c00BC72dD12e26E61212c04E8D93aa09624F2` on Etherlink Mainnet
-- `0xb9D0073aCb296719C26a8BF156e4b599174fe1d5` on Etherlink Shadownet Testnet
+- `0xe92c00BC72dD12e26E61212c04E8D93aa09624F2` on Etherlink Mainnet
+- `0xb9D0073aCb296719C26a8BF156e4b599174fe1d5` on Etherlink Shadownet Testnet
Similarly, you can get the price of the URANIUM token in USD with these addresses:
-- `0xb81131B6368b3F0a83af09dB4E39Ac23DA96C2Db` on Etherlink Mainnet
-- `0xED2B1ca5D7E246f615c2291De309643D41FeC97e` on Etherlink Shadownet Testnet
+- `0xb81131B6368b3F0a83af09dB4E39Ac23DA96C2Db` on Etherlink Mainnet
+- `0xED2B1ca5D7E246f615c2291De309643D41FeC97e` on Etherlink Shadownet Testnet
For more price feed information, see the [RedStone documentation](https://app.redstone.finance/app/feeds/?networks=127823,128123,42793&page=1&sortBy=feed&sortDesc=false&perPage=32).
-Here is an example JavaScript application that uses the [`viem`](https://viem.sh/) SDK to call the contract on Etherlink:
+Here is an example JavaScript application that uses the [`viem`](https://viem.sh/) SDK to call the contract on Etherlink EVM:
```javascript
import { createWalletClient, http, getContract } from "viem";
@@ -342,10 +342,10 @@ contract AcurastSimple {
```
-To deploy this contract you need the address of the Acelon proxy on Etherlink (`0x4Bf5C46Ee59a1110c2a242715f9c3b548A14ee02` on Mainnet).
-Acelon is not available on Etherlink testnets.
+To deploy this contract you need the address of the Acelon proxy on Etherlink EVM (`0x4Bf5C46Ee59a1110c2a242715f9c3b548A14ee02` on Mainnet).
+Acelon is not available on Etherlink testnets.
-Here is an example JavaScript application that uses the [`viem`](https://viem.sh/) SDK to get the price of stXTZ on Etherlink:
+Here is an example JavaScript application that uses the [`viem`](https://viem.sh/) SDK to get the price of stXTZ on Etherlink EVM:
```javascript
import { createWalletClient, http, getContract } from "viem";
@@ -437,4 +437,4 @@ callContract();
```
-You can also use the NPM package `@acelon/acelon-sdk` for the same purpose.
\ No newline at end of file
+You can also use the NPM package `@acelon/acelon-sdk` for the same purpose.
diff --git a/docs/tools/vrf.md b/docs/evm/tools/vrf.md
similarity index 63%
rename from docs/tools/vrf.md
rename to docs/evm/tools/vrf.md
index 732fdedc..7e47da66 100644
--- a/docs/tools/vrf.md
+++ b/docs/evm/tools/vrf.md
@@ -3,10 +3,12 @@ title: Verifiable random functions
---
:::note
-| Etherlink Smart Rollup | +Etherlink{/* TX */} Smart Rollup |
| Chain | -L2 confirmation time | -Data posted on L1 | -
|---|---|---|
| Etherlink | -~ 500 ms (preconfirmation: 50 ms) |
- ~ 6 seconds | -
| Optimism Bedrock | -~ 2 seconds | -~ 2 minutes | -
| Arbitrum One | -~ 300 ms | -~ 7 minutes | -
| Chain | +Confirmation time (L2/execution layer) | +Settlement time (L1/consensus layer) | +
|---|---|---|
| Etherlink | +~ 500 ms (preconfirmation: 50 ms) |
+ ~ 6 seconds | +
| Optimism Bedrock | +~ 2 seconds | +~ 2 minutes | +
| Arbitrum One | +~ 300 ms | +~ 7 minutes | +