Skip to content

hazardcookie/evm-sidechain-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XRPL EVM Sidechain Demo

XRPL EVM Devnet Sidechain Quickstart

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/

Deploying the contract and verifying

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published