# 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

<table><thead><tr><th width="295">Field</th><th>Value</th></tr></thead><tbody><tr><td>Network Name</td><td>XRPL EVM Sidechain</td></tr><tr><td>New RPC URL</td><td>https://rpc-evm-sidechain.xrpl.org</td></tr><tr><td>Chain ID</td><td>1440002</td></tr><tr><td>Currency Symbol</td><td>XRP</td></tr><tr><td>Block Explorer</td><td>https://evm-sidechain.xrpl.org</td></tr></tbody></table>

### 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.

{% embed url="<https://www.youtube.com/watch?v=3_RsIMlE4js>" %}
XRPL EVM Sidechain
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xrpl-commons.org/evm-sidechain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
