04EVM Sidechain
EVM Sidechain
EVM workshop Jan 2024
Documentation:
| Resource | Link |
|---|---|
| Getting started with the EVM sidechain: | https://opensource.ripple.com/docs/evm-sidechain/get-started-evm-sidechain/ |
| EVM Docs | https://opensource.ripple.com/docs/evm-sidechain/intro-to-evm-sidechain/ |
| Peersyst Docs | https://docs.peersyst.com/evm-sidechain-bridge |
| Faucet & Bridge | https://bridge.devnet.xrpl.org/ |
| Explorer | https://evm-sidechain.xrpl.org/ |
Connect Metamask
https://opensource.ripple.com/docs/evm-sidechain/connect-metamask-to-xrpl-evm-sidechain/
EVM Network for Metamask
| Field | Value |
|---|---|
| Network Name | XRPL EVM Sidechain |
| New RPC URL | https://rpc-evm-sidechain.xrpl.org |
| Chain ID | 1440002 |
| Currency Symbol | XRP |
| Block Explorer | https://evm-sidechain.xrpl.org |
Bridge Funds
You will need to use the bridge tool to fund the EVM sidechain account https://bridge.devnet.xrpl.org/
Mint Smart Contract
There are many ways, here are a few...
-> Using Forge
https://github.com/XRPL-Commons/CyprusJan2024EVM
-> Using Remix
https://gist.github.com/lucbocahut/4f9f6c38e7140e3ecd7399703bfb03d5 https://wizard.openzeppelin.com/#erc20 -> then link into remix and publish with Metamask (
-> Using Hardhat
https://github.com/XRPL-Commons/xrpl-commons-january-2024/tree/main/apps/lending-contract
Using the contract
-> Using React and hardhat
https://github.com/XRPL-Commons/xrpl-commons-january-2024/tree/main/apps/lending-frontend
-> Using Web3
https://github.com/XRPL-Commons/Jan2024\_web3
This workshop is based on Floren Uzio's Coding on the XRPL Ledger series.
XRPL EVM Sidechain
In this section
- 01Connecting MetamaskConnecting Metamask for EVM Sidechain: XRPL Commons docs.
- 02Set up a Foundry projectIn this workshop we will learn how to create an evm project with hardhat
- 03Bridging AssetsHow to get XRP on the EVM sidechain
- 04RemixHow to compile, deploy and interact with a solidity smart contract on chain
- 05Banking AppIn this workshop we will learn how to create a Fullstack app using hardhat
- 06Banking Contract Key ConceptsUnderstand the banking contract in depth
