EVM Dev | Resource |
---|---|
Faucet & Bridge | https://bridge.devnet.xrpl.org/ |
Explorer | https://evm-sidechain.xrpl.org/ |
RPC | https://rpc-evm-sidechain.xrpl.org/ |
ChainId | 1440002 |
XRPL Resources | Link |
---|---|
Docs | https://xrpl.org/ |
Grants | https://xrplgrants.org/ |
CookieSwap | https://hazardcookie.com |
CookieSwap (alt link) | https://hazardcookie.eth.limo |
Demo Game | https://hazards-cookies-frontend.vercel.app/ |
Note: This example requires foundry to be installed on your computer.
Deploy the contract with the following command:
$ forge create --rpc-url https://rpc-evm-sidechain.xrpl.org \
--private-key <private-key> \
src/Example.sol:Example
Verify the contract with the following command:
forge verify-contract --chain-id 1440001 --verifier=blockscout \
--verifier-url=https://evm-sidechain.peersyst.tech/api <contract> src/Example.sol:Example
Local blockchain w/ Anvil:
forge script script/Example.s.sol:Example --fork-url http://localhost:8545 \
--private-key $PRIVATE_KEY --broadcast