[{"data":1,"prerenderedAt":3004},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project":3,"docs-kids-\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project":2501,"docs-tracks":2502},{"id":4,"title":5,"body":6,"description":2493,"extension":2494,"meta":2495,"navigation":625,"path":2496,"seo":2497,"source":2498,"stem":2499,"__hash__":2500},"docs\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project.md","Set up a Foundry project",{"type":7,"value":8,"toc":2451},"minimark",[9,14,18,23,26,55,60,63,71,75,80,83,171,175,178,284,288,291,307,311,314,327,330,334,354,358,361,392,396,399,402,409,413,416,420,427,450,453,457,460,468,472,510,514,517,644,648,651,663,666,670,673,685,691,695,698,757,761,764,785,794,798,804,888,890,896,900,903,907,910,959,963,966,998,1002,1008,1041,1045,1048,1108,1112,1119,1198,1202,1208,1309,1313,1316,1384,1388,1420,1422,1427,1431,1438,1442,1448,1586,1589,1593,1599,1603,1646,1650,1653,1695,1699,1705,1741,1745,1748,1754,1759,1779,1783,1790,1858,1861,1914,1918,1921,1956,1959,1963,2138,2142,2145,2208,2212,2318,2322,2386,2390,2396,2438,2440,2447],[10,11,13],"h1",{"id":12},"setting-up-an-evm-project-on-xrpl-sidechain","Setting Up an EVM Project on XRPL Sidechain",[15,16,17],"p",{},"This guide will walk you through setting up an EVM project on the XRPL sidechain using Foundry, a powerful toolkit for Ethereum application development.",[19,20,22],"h2",{"id":21},"part-1-installing-foundry","Part 1: Installing Foundry",[15,24,25],{},"Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust. It consists of four main tools:",[27,28,29,37,43,49],"ul",{},[30,31,32,36],"li",{},[33,34,35],"strong",{},"Forge",": Ethereum testing framework",[30,38,39,42],{},[33,40,41],{},"Cast",": Swiss army knife for interacting with EVM smart contracts",[30,44,45,48],{},[33,46,47],{},"Anvil",": Local Ethereum node for development",[30,50,51,54],{},[33,52,53],{},"Chisel",": Fast, utilitarian, and verbose solidity REPL",[56,57,59],"h3",{"id":58},"prerequisites","Prerequisites",[15,61,62],{},"Before installing Foundry, ensure you have:",[27,64,65,68],{},[30,66,67],{},"A terminal application (Git BASH or WSL for Windows users)",[30,69,70],{},"Internet connection for downloading the installer",[56,72,74],{"id":73},"installation-methods","Installation Methods",[76,77,79],"h4",{"id":78},"option-1-using-foundryup-recommended","Option 1: Using Foundryup (Recommended)",[15,81,82],{},"Foundryup is the official installer for the Foundry toolchain and the easiest way to get started.",[84,85,86,129,135],"ol",{},[30,87,88,91,94,95],{},[33,89,90],{},"Install Foundryup",[92,93],"br",{},"Open your terminal and run:",[96,97,102],"pre",{"className":98,"code":99,"language":100,"meta":101,"style":101},"language-bash shiki shiki-themes github-dark-high-contrast","curl -L https:\u002F\u002Ffoundry.paradigm.xyz | bash\n","bash","",[103,104,105],"code",{"__ignoreMap":101},[106,107,110,114,118,122,126],"span",{"class":108,"line":109},"line",1,[106,111,113],{"class":112},"s_sBn","curl",[106,115,117],{"class":116},"sCcAr"," -L",[106,119,121],{"class":120},"sTRMh"," https:\u002F\u002Ffoundry.paradigm.xyz",[106,123,125],{"class":124},"sWyjQ"," |",[106,127,128],{"class":112}," bash\n",[30,130,131,134],{},[33,132,133],{},"Follow the on-screen instructions"," to complete the installation",[30,136,137,140,142,143,152,154,155],{},[33,138,139],{},"Install Foundry tools",[92,141],{},"Run the following command to install the latest stable version:",[96,144,146],{"className":98,"code":145,"language":100,"meta":101,"style":101},"foundryup\n",[103,147,148],{"__ignoreMap":101},[106,149,150],{"class":108,"line":109},[106,151,145],{"class":112},[92,153],{},"For the latest nightly build (with newest features), use:",[96,156,158],{"className":98,"code":157,"language":100,"meta":101,"style":101},"foundryup --version nightly\n",[103,159,160],{"__ignoreMap":101},[106,161,162,165,168],{"class":108,"line":109},[106,163,164],{"class":112},"foundryup",[106,166,167],{"class":116}," --version",[106,169,170],{"class":120}," nightly\n",[76,172,174],{"id":173},"option-2-building-from-source","Option 2: Building from Source",[15,176,177],{},"If you prefer to build from source or need a custom configuration:",[84,179,180,217,239],{},[30,181,182,185,187,188],{},[33,183,184],{},"Install Rust",[92,186],{},"First, install Rust using rustup:",[96,189,191],{"className":98,"code":190,"language":100,"meta":101,"style":101},"curl --proto '=https' --tlsv1.2 -sSf https:\u002F\u002Fsh.rustup.rs | sh\n",[103,192,193],{"__ignoreMap":101},[106,194,195,197,200,203,206,209,212,214],{"class":108,"line":109},[106,196,113],{"class":112},[106,198,199],{"class":116}," --proto",[106,201,202],{"class":120}," '=https'",[106,204,205],{"class":116}," --tlsv1.2",[106,207,208],{"class":116}," -sSf",[106,210,211],{"class":120}," https:\u002F\u002Fsh.rustup.rs",[106,213,125],{"class":124},[106,215,216],{"class":112}," sh\n",[30,218,219,222,223],{},[33,220,221],{},"Update Rust"," (if already installed)",[96,224,226],{"className":98,"code":225,"language":100,"meta":101,"style":101},"rustup update stable\n",[103,227,228],{"__ignoreMap":101},[106,229,230,233,236],{"class":108,"line":109},[106,231,232],{"class":112},"rustup",[106,234,235],{"class":120}," update",[106,237,238],{"class":120}," stable\n",[30,240,241,244],{},[33,242,243],{},"Install via Cargo",[96,245,247],{"className":98,"code":246,"language":100,"meta":101,"style":101},"cargo install --git https:\u002F\u002Fgithub.com\u002Ffoundry-rs\u002Ffoundry --profile release --locked forge cast chisel anvil\n",[103,248,249],{"__ignoreMap":101},[106,250,251,254,257,260,263,266,269,272,275,278,281],{"class":108,"line":109},[106,252,253],{"class":112},"cargo",[106,255,256],{"class":120}," install",[106,258,259],{"class":116}," --git",[106,261,262],{"class":120}," https:\u002F\u002Fgithub.com\u002Ffoundry-rs\u002Ffoundry",[106,264,265],{"class":116}," --profile",[106,267,268],{"class":120}," release",[106,270,271],{"class":116}," --locked",[106,273,274],{"class":120}," forge",[106,276,277],{"class":120}," cast",[106,279,280],{"class":120}," chisel",[106,282,283],{"class":120}," anvil\n",[76,285,287],{"id":286},"option-3-using-docker","Option 3: Using Docker",[15,289,290],{},"For containerized development:",[96,292,294],{"className":98,"code":293,"language":100,"meta":101,"style":101},"docker pull ghcr.io\u002Ffoundry-rs\u002Ffoundry:latest\n",[103,295,296],{"__ignoreMap":101},[106,297,298,301,304],{"class":108,"line":109},[106,299,300],{"class":112},"docker",[106,302,303],{"class":120}," pull",[106,305,306],{"class":120}," ghcr.io\u002Ffoundry-rs\u002Ffoundry:latest\n",[56,308,310],{"id":309},"verification","Verification",[15,312,313],{},"After installation, verify that Foundry is properly installed by checking the version:",[96,315,317],{"className":98,"code":316,"language":100,"meta":101,"style":101},"forge --version\n",[103,318,319],{"__ignoreMap":101},[106,320,321,324],{"class":108,"line":109},[106,322,323],{"class":112},"forge",[106,325,326],{"class":116}," --version\n",[15,328,329],{},"You should see version information for Forge, confirming the installation was successful.",[56,331,333],{"id":332},"platform-specific-notes","Platform-Specific Notes",[27,335,336,342,348],{},[30,337,338,341],{},[33,339,340],{},"Windows",": Use Git BASH or WSL as your terminal. PowerShell and Command Prompt are not currently supported by foundryup",[30,343,344,347],{},[33,345,346],{},"macOS",": Standard terminal works perfectly",[30,349,350,353],{},[33,351,352],{},"Linux",": Any terminal emulator will work",[56,355,357],{"id":356},"troubleshooting","Troubleshooting",[15,359,360],{},"If you encounter issues during installation:",[84,362,363,368,373,379],{},[30,364,365],{},[33,366,367],{},"Check your internet connection",[30,369,370],{},[33,371,372],{},"Ensure you have the latest version of your terminal",[30,374,375,378],{},[33,376,377],{},"For Windows users",": Make sure you're using Git BASH or WSL",[30,380,381,391],{},[33,382,383,384],{},"Refer to the ",[385,386,390],"a",{"href":387,"rel":388},"https:\u002F\u002Fbook.getfoundry.sh\u002Ffaq",[389],"nofollow","Foundry FAQ"," for additional help",[56,393,395],{"id":394},"security-note","Security Note",[15,397,398],{},"Foundry binaries are verified using GitHub artifact attestations to ensure integrity and authenticity. The installer automatically verifies these attestations during installation.",[400,401],"hr",{},[15,403,404,405,408],{},"\u0005✅ ",[33,406,407],{},"Checkpoint",": You now have Foundry installed and ready to use for XRPL sidechain development!",[19,410,412],{"id":411},"part-2-initializing-a-foundry-project","Part 2: Initializing a Foundry Project",[15,414,415],{},"Now that Foundry is installed, let's create a new project and understand the project structure.",[56,417,419],{"id":418},"creating-a-new-project","Creating a New Project",[15,421,422,423,426],{},"Initialize a new Foundry project using the ",[103,424,425],{},"forge init"," command:",[96,428,430],{"className":98,"code":429,"language":100,"meta":101,"style":101},"forge init my-xrpl-project\ncd my-xrpl-project\n",[103,431,432,442],{"__ignoreMap":101},[106,433,434,436,439],{"class":108,"line":109},[106,435,323],{"class":112},[106,437,438],{"class":120}," init",[106,440,441],{"class":120}," my-xrpl-project\n",[106,443,445,448],{"class":108,"line":444},2,[106,446,447],{"class":116},"cd",[106,449,441],{"class":120},[15,451,452],{},"This creates a new directory with a complete Foundry project structure.",[56,454,456],{"id":455},"understanding-the-project-structure","Understanding the Project Structure",[15,458,459],{},"After initialization, your project will have the following structure:",[96,461,466],{"className":462,"code":464,"language":465},[463],"language-text","my-xrpl-project\u002F\n├── foundry.toml          # Foundry configuration file\n├── src\u002F                  # Smart contracts directory\n│   └── Counter.sol       # Example contract\n├── script\u002F               # Deployment and interaction scripts\n│   └── Counter.s.sol     # Example deployment script\n├── test\u002F                 # Test files\n│   └── Counter.t.sol     # Example test file\n└── lib\u002F                  # Dependencies (managed by Soldeer)\n","text",[103,467,464],{"__ignoreMap":101},[76,469,471],{"id":470},"key-directories-explained","Key Directories Explained",[27,473,474,482,494,502],{},[30,475,476,481],{},[33,477,478],{},[103,479,480],{},"\u002Fsrc",": Contains your smart contracts written in Solidity",[30,483,484,489,490,493],{},[33,485,486],{},[103,487,488],{},"\u002Ftest",": Contains test files for your contracts (typically with ",[103,491,492],{},".t.sol"," extension)",[30,495,496,501],{},[33,497,498],{},[103,499,500],{},"\u002Fscript",": Contains deployment scripts and other automation scripts",[30,503,504,509],{},[33,505,506],{},[103,507,508],{},"\u002Flib",": Contains external dependencies managed by Soldeer package manager",[56,511,513],{"id":512},"setting-up-soldeer-package-manager","Setting Up Soldeer Package Manager",[15,515,516],{},"Soldeer is Foundry's native package manager for handling smart contract dependencies. Let's configure it for your project:",[84,518,519,539],{},[30,520,521,524],{},[33,522,523],{},"Initialize Soldeer",[96,525,527],{"className":98,"code":526,"language":100,"meta":101,"style":101},"forge soldeer init\n",[103,528,529],{"__ignoreMap":101},[106,530,531,533,536],{"class":108,"line":109},[106,532,323],{"class":112},[106,534,535],{"class":120}," soldeer",[106,537,538],{"class":120}," init\n",[30,540,541,544,546,547,550,551,564,566,567],{},[33,542,543],{},"Verify Soldeer Configuration",[92,545],{},"Check that ",[103,548,549],{},"foundry.toml"," now includes Soldeer configuration:",[96,552,554],{"className":98,"code":553,"language":100,"meta":101,"style":101},"cat foundry.toml\n",[103,555,556],{"__ignoreMap":101},[106,557,558,561],{"class":108,"line":109},[106,559,560],{"class":112},"cat",[106,562,563],{"class":120}," foundry.toml\n",[92,565],{},"You should see something like:",[96,568,572],{"className":569,"code":570,"language":571,"meta":101,"style":101},"language-toml shiki shiki-themes github-dark-high-contrast","[profile.default]\nsrc = \"src\"\nout = \"out\"\nlibs = [\"lib\"]\n\n[dependencies]\n# Dependencies will be listed here\n","toml",[103,573,574,592,600,609,620,627,637],{"__ignoreMap":101},[106,575,576,580,583,586,589],{"class":108,"line":109},[106,577,579],{"class":578},"sMAXC","[",[106,581,582],{"class":112},"profile",[106,584,585],{"class":578},".",[106,587,588],{"class":112},"default",[106,590,591],{"class":578},"]\n",[106,593,594,597],{"class":108,"line":444},[106,595,596],{"class":578},"src = ",[106,598,599],{"class":120},"\"src\"\n",[106,601,603,606],{"class":108,"line":602},3,[106,604,605],{"class":578},"out = ",[106,607,608],{"class":120},"\"out\"\n",[106,610,612,615,618],{"class":108,"line":611},4,[106,613,614],{"class":578},"libs = [",[106,616,617],{"class":120},"\"lib\"",[106,619,591],{"class":578},[106,621,623],{"class":108,"line":622},5,[106,624,626],{"emptyLinePlaceholder":625},true,"\n",[106,628,630,632,635],{"class":108,"line":629},6,[106,631,579],{"class":578},[106,633,634],{"class":112},"dependencies",[106,636,591],{"class":578},[106,638,640],{"class":108,"line":639},7,[106,641,643],{"class":642},"sQrFR","# Dependencies will be listed here\n",[56,645,647],{"id":646},"building-your-project","Building Your Project",[15,649,650],{},"Compile the smart contracts to ensure everything is set up correctly:",[96,652,654],{"className":98,"code":653,"language":100,"meta":101,"style":101},"forge build\n",[103,655,656],{"__ignoreMap":101},[106,657,658,660],{"class":108,"line":109},[106,659,323],{"class":112},[106,661,662],{"class":120}," build\n",[15,664,665],{},"You should see output indicating successful compilation of the example Counter contract.",[56,667,669],{"id":668},"running-tests","Running Tests",[15,671,672],{},"Run the included tests to verify the setup:",[96,674,676],{"className":98,"code":675,"language":100,"meta":101,"style":101},"forge test\n",[103,677,678],{"__ignoreMap":101},[106,679,680,682],{"class":108,"line":109},[106,681,323],{"class":112},[106,683,684],{"class":120}," test\n",[15,686,687,688,690],{},"This will execute all tests in the ",[103,689,488],{}," directory and show the results.",[56,692,694],{"id":693},"understanding-the-foundry-tools","Understanding the Foundry Tools",[15,696,697],{},"Your project now has access to all Foundry tools:",[699,700,701,714],"table",{},[702,703,704],"thead",{},[705,706,707,711],"tr",{},[708,709,710],"th",{},"Tool",[708,712,713],{},"Purpose",[715,716,717,727,737,747],"tbody",{},[705,718,719,724],{},[720,721,722],"td",{},[33,723,323],{},[720,725,726],{},"Build, test, debug, deploy and verify smart contracts",[705,728,729,734],{},[720,730,731],{},[33,732,733],{},"anvil",[720,735,736],{},"Run a local Ethereum development node with forking capabilities",[705,738,739,744],{},[720,740,741],{},[33,742,743],{},"cast",[720,745,746],{},"Interact with contracts, send transactions, and retrieve chain data",[705,748,749,754],{},[720,750,751],{},[33,752,753],{},"chisel",[720,755,756],{},"Fast Solidity REPL for rapid prototyping and debugging",[56,758,760],{"id":759},"adding-dependencies-with-soldeer","Adding Dependencies with Soldeer",[15,762,763],{},"To add external smart contract libraries (like OpenZeppelin), use Soldeer:",[96,765,767],{"className":98,"code":766,"language":100,"meta":101,"style":101},"# Example: Add OpenZeppelin contracts\nforge soldeer install @openzeppelin\u002Fcontracts@5.0.0\n",[103,768,769,774],{"__ignoreMap":101},[106,770,771],{"class":108,"line":109},[106,772,773],{"class":642},"# Example: Add OpenZeppelin contracts\n",[106,775,776,778,780,782],{"class":108,"line":444},[106,777,323],{"class":112},[106,779,535],{"class":120},[106,781,256],{"class":120},[106,783,784],{"class":120}," @openzeppelin\u002Fcontracts@5.0.0\n",[15,786,787,788,790,791,793],{},"Dependencies will be automatically added to your ",[103,789,549],{}," and downloaded to the ",[103,792,508],{}," directory.",[56,795,797],{"id":796},"customizing-your-project","Customizing Your Project",[15,799,800,801,803],{},"You can customize various aspects of your project by editing ",[103,802,549],{},":",[96,805,807],{"className":569,"code":806,"language":571,"meta":101,"style":101},"[profile.default]\nsrc = \"src\"\nout = \"out\"\nlibs = [\"lib\"]\noptimizer = true\noptimizer_runs = 200\nvia_ir = true\n\n[rpc_endpoints]\nxrpl_devnet = \"https:\u002F\u002Frpc-evm-sidechain.xrpl.org\"\n",[103,808,809,821,827,833,841,849,857,864,869,879],{"__ignoreMap":101},[106,810,811,813,815,817,819],{"class":108,"line":109},[106,812,579],{"class":578},[106,814,582],{"class":112},[106,816,585],{"class":578},[106,818,588],{"class":112},[106,820,591],{"class":578},[106,822,823,825],{"class":108,"line":444},[106,824,596],{"class":578},[106,826,599],{"class":120},[106,828,829,831],{"class":108,"line":602},[106,830,605],{"class":578},[106,832,608],{"class":120},[106,834,835,837,839],{"class":108,"line":611},[106,836,614],{"class":578},[106,838,617],{"class":120},[106,840,591],{"class":578},[106,842,843,846],{"class":108,"line":622},[106,844,845],{"class":578},"optimizer = ",[106,847,848],{"class":116},"true\n",[106,850,851,854],{"class":108,"line":629},[106,852,853],{"class":578},"optimizer_runs = ",[106,855,856],{"class":116},"200\n",[106,858,859,862],{"class":108,"line":639},[106,860,861],{"class":578},"via_ir = ",[106,863,848],{"class":116},[106,865,867],{"class":108,"line":866},8,[106,868,626],{"emptyLinePlaceholder":625},[106,870,872,874,877],{"class":108,"line":871},9,[106,873,579],{"class":578},[106,875,876],{"class":112},"rpc_endpoints",[106,878,591],{"class":578},[106,880,882,885],{"class":108,"line":881},10,[106,883,884],{"class":578},"xrpl_devnet = ",[106,886,887],{"class":120},"\"https:\u002F\u002Frpc-evm-sidechain.xrpl.org\"\n",[400,889],{},[15,891,892,893,895],{},"✅ ",[33,894,407],{},": You now have a fully initialized Foundry project with proper structure and dependency management!",[19,897,899],{"id":898},"part-3-setting-up-your-environment","Part 3: Setting Up Your Environment",[15,901,902],{},"Before deploying contracts to the XRPL sidechain, you need to set up a wallet and obtain test tokens for deployment.",[56,904,906],{"id":905},"installing-metamask","Installing MetaMask",[15,908,909],{},"MetaMask is a popular Ethereum wallet that works with XRPL EVM sidechain. Follow these steps to install and set it up:",[84,911,912,936],{},[30,913,914,917],{},[33,915,916],{},"Install MetaMask",[27,918,919,927,930,933],{},[30,920,921,922],{},"Visit ",[385,923,926],{"href":924,"rel":925},"https:\u002F\u002Fmetamask.io\u002F",[389],"metamask.io",[30,928,929],{},"Click \"Download\" and choose your browser",[30,931,932],{},"Install the browser extension",[30,934,935],{},"Create a new wallet or import an existing one",[30,937,938,941,942],{},[33,939,940],{},"Create a New Wallet"," (if you don't have one)",[27,943,944,947,950,956],{},[30,945,946],{},"Click \"Create a wallet\"",[30,948,949],{},"Set a strong password",[30,951,952,955],{},[33,953,954],{},"IMPORTANT",": Write down your seed phrase securely and never share it",[30,957,958],{},"Confirm your seed phrase",[56,960,962],{"id":961},"adding-xrpl-evm-sidechain-to-metamask","Adding XRPL EVM Sidechain to MetaMask",[15,964,965],{},"Configure MetaMask to connect to the XRPL EVM sidechain:",[84,967,968,974,986,992],{},[30,969,970,973],{},[33,971,972],{},"Open MetaMask"," and click the network dropdown (usually shows \"Ethereum Mainnet\")",[30,975,976,979,980],{},[33,977,978],{},"Add Custom Network"," with these details:",[96,981,984],{"className":982,"code":983,"language":465},[463],"Network Name: XRPL EVM Sidechain\nNew RPC URL: https:\u002F\u002Frpc-evm-sidechain.xrpl.org\nChain ID: 1440002\nCurrency Symbol: XRP\nBlock Explorer URL: https:\u002F\u002Fevm-sidechain.xrpl.org\n",[103,985,983],{"__ignoreMap":101},[30,987,988,991],{},[33,989,990],{},"Save"," the network configuration",[30,993,994,997],{},[33,995,996],{},"Switch"," to the XRPL EVM Sidechain network",[56,999,1001],{"id":1000},"getting-your-private-key","Getting Your Private Key",[15,1003,1004,1007],{},[33,1005,1006],{},"⚠️ Security Warning",": Never share your private key with anyone. Only use it for development and testing purposes.",[84,1009,1010,1014,1020,1025,1030,1035],{},[30,1011,1012],{},[33,1013,972],{},[30,1015,1016,1019],{},[33,1017,1018],{},"Click the three dots"," next to your account name",[30,1021,1022],{},[33,1023,1024],{},"Select \"Account Details\"",[30,1026,1027],{},[33,1028,1029],{},"Click \"Show private key\"",[30,1031,1032],{},[33,1033,1034],{},"Enter your password",[30,1036,1037,1040],{},[33,1038,1039],{},"Copy the private key"," (you'll need this for deployment)",[56,1042,1044],{"id":1043},"getting-test-tokens-from-the-faucet","Getting Test Tokens from the Faucet",[15,1046,1047],{},"You need test XRP tokens to deploy contracts on the XRPL sidechain:",[84,1049,1050,1060,1076,1095],{},[30,1051,1052,1055,1056],{},[33,1053,1054],{},"Visit the XRPL EVM Faucet",": ",[385,1057,1058],{"href":1058,"rel":1059},"https:\u002F\u002Ffaucet.xrplevm.org\u002F",[389],[30,1061,1062,1065],{},[33,1063,1064],{},"Connect Your Wallet",[27,1066,1067,1070,1073],{},[30,1068,1069],{},"Click \"Connect Wallet\"",[30,1071,1072],{},"Select MetaMask",[30,1074,1075],{},"Approve the connection",[30,1077,1078,1081],{},[33,1079,1080],{},"Request Test Tokens",[27,1082,1083,1086,1089,1092],{},[30,1084,1085],{},"Make sure you're on the XRPL EVM Sidechain network",[30,1087,1088],{},"Your wallet address should be displayed",[30,1090,1091],{},"Click \"Send me XRP\" or the equivalent button",[30,1093,1094],{},"Wait for the transaction to complete",[30,1096,1097,1100],{},[33,1098,1099],{},"Verify Token Receipt",[27,1101,1102,1105],{},[30,1103,1104],{},"Check your MetaMask balance",[30,1106,1107],{},"You should see test XRP tokens in your wallet",[56,1109,1111],{"id":1110},"setting-up-environment-variables","Setting Up Environment Variables",[15,1113,1114,1115,1118],{},"Create a ",[103,1116,1117],{},".env"," file in your project root to store your private key securely:",[84,1120,1121,1139,1167],{},[30,1122,1123,803,1126],{},[33,1124,1125],{},"Create the file",[96,1127,1129],{"className":98,"code":1128,"language":100,"meta":101,"style":101},"touch .env\n",[103,1130,1131],{"__ignoreMap":101},[106,1132,1133,1136],{"class":108,"line":109},[106,1134,1135],{"class":112},"touch",[106,1137,1138],{"class":120}," .env\n",[30,1140,1141,803,1144],{},[33,1142,1143],{},"Add your private key",[96,1145,1149],{"className":1146,"code":1147,"language":1148,"meta":101,"style":101},"language-ini shiki shiki-themes github-dark-high-contrast","PRIVATE_KEY=your_private_key_here\nRPC_URL=https:\u002F\u002Frpc.testnet.xrplevm.org\n","ini",[103,1150,1151,1159],{"__ignoreMap":101},[106,1152,1153,1156],{"class":108,"line":109},[106,1154,1155],{"class":124},"PRIVATE_KEY",[106,1157,1158],{"class":578},"=your_private_key_here\n",[106,1160,1161,1164],{"class":108,"line":444},[106,1162,1163],{"class":124},"RPC_URL",[106,1165,1166],{"class":578},"=https:\u002F\u002Frpc.testnet.xrplevm.org\n",[30,1168,1169,1178,1179],{},[33,1170,1171,1172,1174,1175],{},"Add ",[103,1173,1117],{}," to ",[103,1176,1177],{},".gitignore"," (if not already present):",[96,1180,1182],{"className":98,"code":1181,"language":100,"meta":101,"style":101},"echo \".env\" >> .gitignore\n",[103,1183,1184],{"__ignoreMap":101},[106,1185,1186,1189,1192,1195],{"class":108,"line":109},[106,1187,1188],{"class":116},"echo",[106,1190,1191],{"class":120}," \".env\"",[106,1193,1194],{"class":124}," >>",[106,1196,1197],{"class":120}," .gitignore\n",[56,1199,1201],{"id":1200},"configuring-foundry-for-xrpl","Configuring Foundry for XRPL",[15,1203,1204,1205,1207],{},"Update your ",[103,1206,549],{}," to include XRPL-specific settings:",[96,1209,1211],{"className":569,"code":1210,"language":571,"meta":101,"style":101},"[profile.default]\nsrc = \"src\"\nout = \"out\"\nlibs = [\"lib\"]\noptimizer = true\noptimizer_runs = 200\n\n[rpc_endpoints]\nxrpl = \"https:\u002F\u002Frpc.testnet.xrplevm.org\"\n\n[etherscan]\nxrpl = { key = \"your_api_key_if_available\", url = \"https:\u002F\u002Fevm-sidechain.xrpl.org\u002Fapi\" }\n",[103,1212,1213,1225,1231,1237,1245,1251,1257,1261,1269,1277,1281,1291],{"__ignoreMap":101},[106,1214,1215,1217,1219,1221,1223],{"class":108,"line":109},[106,1216,579],{"class":578},[106,1218,582],{"class":112},[106,1220,585],{"class":578},[106,1222,588],{"class":112},[106,1224,591],{"class":578},[106,1226,1227,1229],{"class":108,"line":444},[106,1228,596],{"class":578},[106,1230,599],{"class":120},[106,1232,1233,1235],{"class":108,"line":602},[106,1234,605],{"class":578},[106,1236,608],{"class":120},[106,1238,1239,1241,1243],{"class":108,"line":611},[106,1240,614],{"class":578},[106,1242,617],{"class":120},[106,1244,591],{"class":578},[106,1246,1247,1249],{"class":108,"line":622},[106,1248,845],{"class":578},[106,1250,848],{"class":116},[106,1252,1253,1255],{"class":108,"line":629},[106,1254,853],{"class":578},[106,1256,856],{"class":116},[106,1258,1259],{"class":108,"line":639},[106,1260,626],{"emptyLinePlaceholder":625},[106,1262,1263,1265,1267],{"class":108,"line":866},[106,1264,579],{"class":578},[106,1266,876],{"class":112},[106,1268,591],{"class":578},[106,1270,1271,1274],{"class":108,"line":871},[106,1272,1273],{"class":578},"xrpl = ",[106,1275,1276],{"class":120},"\"https:\u002F\u002Frpc.testnet.xrplevm.org\"\n",[106,1278,1279],{"class":108,"line":881},[106,1280,626],{"emptyLinePlaceholder":625},[106,1282,1284,1286,1289],{"class":108,"line":1283},11,[106,1285,579],{"class":578},[106,1287,1288],{"class":112},"etherscan",[106,1290,591],{"class":578},[106,1292,1294,1297,1300,1303,1306],{"class":108,"line":1293},12,[106,1295,1296],{"class":578},"xrpl = { key = ",[106,1298,1299],{"class":120},"\"your_api_key_if_available\"",[106,1301,1302],{"class":578},", url = ",[106,1304,1305],{"class":120},"\"https:\u002F\u002Fevm-sidechain.xrpl.org\u002Fapi\"",[106,1307,1308],{"class":578}," }\n",[56,1310,1312],{"id":1311},"testing-your-setup","Testing Your Setup",[15,1314,1315],{},"Verify your environment is ready:",[84,1317,1318,1344,1362],{},[30,1319,1320,803,1323],{},[33,1321,1322],{},"Check your balance",[96,1324,1326],{"className":98,"code":1325,"language":100,"meta":101,"style":101},"cast balance --rpc-url https:\u002F\u002Frpc.testnet.xrplevm.org YOUR_WALLET_ADDRESS\n",[103,1327,1328],{"__ignoreMap":101},[106,1329,1330,1332,1335,1338,1341],{"class":108,"line":109},[106,1331,743],{"class":112},[106,1333,1334],{"class":120}," balance",[106,1336,1337],{"class":116}," --rpc-url",[106,1339,1340],{"class":120}," https:\u002F\u002Frpc.testnet.xrplevm.org",[106,1342,1343],{"class":120}," YOUR_WALLET_ADDRESS\n",[30,1345,1346,1349,1350],{},[33,1347,1348],{},"Load environment variables"," (if using .env):",[96,1351,1353],{"className":98,"code":1352,"language":100,"meta":101,"style":101},"source .env\n",[103,1354,1355],{"__ignoreMap":101},[106,1356,1357,1360],{"class":108,"line":109},[106,1358,1359],{"class":116},"source",[106,1361,1138],{"class":120},[30,1363,1364,803,1367],{},[33,1365,1366],{},"Test connection",[96,1368,1370],{"className":98,"code":1369,"language":100,"meta":101,"style":101},"cast block-number --rpc-url $RPC_URL\n",[103,1371,1372],{"__ignoreMap":101},[106,1373,1374,1376,1379,1381],{"class":108,"line":109},[106,1375,743],{"class":112},[106,1377,1378],{"class":120}," block-number",[106,1380,1337],{"class":116},[106,1382,1383],{"class":578}," $RPC_URL\n",[56,1385,1387],{"id":1386},"security-best-practices","Security Best Practices",[27,1389,1390,1396,1402,1408,1414],{},[30,1391,1392,1395],{},[33,1393,1394],{},"Never commit your private key"," to version control",[30,1397,1398,1401],{},[33,1399,1400],{},"Use environment variables"," for sensitive data",[30,1403,1404,1407],{},[33,1405,1406],{},"Use separate wallets"," for development and production",[30,1409,1410,1413],{},[33,1411,1412],{},"Regularly backup"," your seed phrase securely",[30,1415,1416,1419],{},[33,1417,1418],{},"Consider using hardware wallets"," for production deployments",[400,1421],{},[15,1423,892,1424,1426],{},[33,1425,407],{},": Your environment is now configured with MetaMask, test tokens, and proper security setup!",[19,1428,1430],{"id":1429},"part-4-deploying-your-smart-contract","Part 4: Deploying Your Smart Contract",[15,1432,1433,1434,1437],{},"Now that your environment is set up, let's deploy the example Counter contract to the XRPL EVM sidechain using the ",[103,1435,1436],{},"forge create"," command.",[56,1439,1441],{"id":1440},"understanding-the-counter-contract","Understanding the Counter Contract",[15,1443,1444,1445,803],{},"First, let's look at the Counter contract in ",[103,1446,1447],{},"src\u002FCounter.sol",[96,1449,1453],{"className":1450,"code":1451,"language":1452,"meta":101,"style":101},"language-solidity shiki shiki-themes github-dark-high-contrast","\u002F\u002F SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.13;\n\ncontract Counter {\n    uint256 public number;\n\n    function setNumber(uint256 newNumber) public {\n        number = newNumber;\n    }\n\n    function increment() public {\n        number++;\n    }\n}\n","solidity",[103,1454,1455,1460,1475,1479,1490,1501,1505,1531,1542,1547,1551,1565,1575,1580],{"__ignoreMap":101},[106,1456,1457],{"class":108,"line":109},[106,1458,1459],{"class":642},"\u002F\u002F SPDX-License-Identifier: UNLICENSED\n",[106,1461,1462,1465,1469,1472],{"class":108,"line":444},[106,1463,1464],{"class":124},"pragma",[106,1466,1468],{"class":1467},"sKpQp"," solidity",[106,1470,1471],{"class":116}," ^0.8.13",[106,1473,1474],{"class":578},";\n",[106,1476,1477],{"class":108,"line":602},[106,1478,626],{"emptyLinePlaceholder":625},[106,1480,1481,1484,1487],{"class":108,"line":611},[106,1482,1483],{"class":124},"contract",[106,1485,1486],{"class":112}," Counter",[106,1488,1489],{"class":578}," {\n",[106,1491,1492,1495,1498],{"class":108,"line":622},[106,1493,1494],{"class":116},"    uint256",[106,1496,1497],{"class":124}," public",[106,1499,1500],{"class":578}," number;\n",[106,1502,1503],{"class":108,"line":629},[106,1504,626],{"emptyLinePlaceholder":625},[106,1506,1507,1510,1514,1517,1520,1523,1526,1529],{"class":108,"line":639},[106,1508,1509],{"class":124},"    function",[106,1511,1513],{"class":1512},"sj_SG"," setNumber",[106,1515,1516],{"class":578},"(",[106,1518,1519],{"class":116},"uint256",[106,1521,1522],{"class":112}," newNumber",[106,1524,1525],{"class":578},") ",[106,1527,1528],{"class":124},"public",[106,1530,1489],{"class":578},[106,1532,1533,1536,1539],{"class":108,"line":866},[106,1534,1535],{"class":578},"        number ",[106,1537,1538],{"class":124},"=",[106,1540,1541],{"class":578}," newNumber;\n",[106,1543,1544],{"class":108,"line":871},[106,1545,1546],{"class":578},"    }\n",[106,1548,1549],{"class":108,"line":881},[106,1550,626],{"emptyLinePlaceholder":625},[106,1552,1553,1555,1558,1561,1563],{"class":108,"line":1283},[106,1554,1509],{"class":124},[106,1556,1557],{"class":1512}," increment",[106,1559,1560],{"class":578},"() ",[106,1562,1528],{"class":124},[106,1564,1489],{"class":578},[106,1566,1567,1570,1573],{"class":108,"line":1293},[106,1568,1569],{"class":578},"        number",[106,1571,1572],{"class":124},"++",[106,1574,1474],{"class":578},[106,1576,1578],{"class":108,"line":1577},13,[106,1579,1546],{"class":578},[106,1581,1583],{"class":108,"line":1582},14,[106,1584,1585],{"class":578},"}\n",[15,1587,1588],{},"This simple contract stores a number and provides functions to set and increment it.",[56,1590,1592],{"id":1591},"deploying-with-forge-create","Deploying with forge create",[15,1594,1595,1596,1598],{},"The ",[103,1597,1436],{}," command allows you to deploy a single contract directly without deployment scripts.",[76,1600,1602],{"id":1601},"basic-deployment-command","Basic Deployment Command",[96,1604,1606],{"className":98,"code":1605,"language":100,"meta":101,"style":101},"forge create src\u002FCounter.sol:Counter \\\n  --rpc-url https:\u002F\u002Frpc.testnet.xrplevm.org \\\n  --private-key $PRIVATE_KEY \\\n  --broadcast\n",[103,1607,1608,1621,1630,1641],{"__ignoreMap":101},[106,1609,1610,1612,1615,1618],{"class":108,"line":109},[106,1611,323],{"class":112},[106,1613,1614],{"class":120}," create",[106,1616,1617],{"class":120}," src\u002FCounter.sol:Counter",[106,1619,1620],{"class":124}," \\\n",[106,1622,1623,1626,1628],{"class":108,"line":444},[106,1624,1625],{"class":116},"  --rpc-url",[106,1627,1340],{"class":120},[106,1629,1620],{"class":124},[106,1631,1632,1635,1638],{"class":108,"line":602},[106,1633,1634],{"class":116},"  --private-key",[106,1636,1637],{"class":578}," $PRIVATE_KEY ",[106,1639,1640],{"class":124},"\\\n",[106,1642,1643],{"class":108,"line":611},[106,1644,1645],{"class":116},"  --broadcast\n",[76,1647,1649],{"id":1648},"using-environment-variables","Using Environment Variables",[15,1651,1652],{},"For better security, load your environment variables first:",[96,1654,1656],{"className":98,"code":1655,"language":100,"meta":101,"style":101},"source .env\nforge create src\u002FCounter.sol:Counter \\\n  --rpc-url $RPC_URL \\\n  --private-key $PRIVATE_KEY \\\n  --broadcast\n",[103,1657,1658,1664,1674,1683,1691],{"__ignoreMap":101},[106,1659,1660,1662],{"class":108,"line":109},[106,1661,1359],{"class":116},[106,1663,1138],{"class":120},[106,1665,1666,1668,1670,1672],{"class":108,"line":444},[106,1667,323],{"class":112},[106,1669,1614],{"class":120},[106,1671,1617],{"class":120},[106,1673,1620],{"class":124},[106,1675,1676,1678,1681],{"class":108,"line":602},[106,1677,1625],{"class":116},[106,1679,1680],{"class":578}," $RPC_URL ",[106,1682,1640],{"class":124},[106,1684,1685,1687,1689],{"class":108,"line":611},[106,1686,1634],{"class":116},[106,1688,1637],{"class":578},[106,1690,1640],{"class":124},[106,1692,1693],{"class":108,"line":622},[106,1694,1645],{"class":116},[76,1696,1698],{"id":1697},"using-foundry-configuration","Using Foundry Configuration",[15,1700,1701,1702,1704],{},"If you configured the RPC endpoint in ",[103,1703,549],{},", you can use:",[96,1706,1708],{"className":98,"code":1707,"language":100,"meta":101,"style":101},"forge create src\u002FCounter.sol:Counter \\\n  --rpc-url xrpl \\\n  --private-key $PRIVATE_KEY \\\n  --broadcast\n",[103,1709,1710,1720,1729,1737],{"__ignoreMap":101},[106,1711,1712,1714,1716,1718],{"class":108,"line":109},[106,1713,323],{"class":112},[106,1715,1614],{"class":120},[106,1717,1617],{"class":120},[106,1719,1620],{"class":124},[106,1721,1722,1724,1727],{"class":108,"line":444},[106,1723,1625],{"class":116},[106,1725,1726],{"class":120}," xrpl",[106,1728,1620],{"class":124},[106,1730,1731,1733,1735],{"class":108,"line":602},[106,1732,1634],{"class":116},[106,1734,1637],{"class":578},[106,1736,1640],{"class":124},[106,1738,1739],{"class":108,"line":611},[106,1740,1645],{"class":116},[56,1742,1744],{"id":1743},"understanding-deployment-output","Understanding Deployment Output",[15,1746,1747],{},"After successful deployment, you'll see output like:",[96,1749,1752],{"className":1750,"code":1751,"language":465},[463],"[⠢] Compiling...\n[⠆] Compiling 1 files with 0.8.19\n[⠰] Solc 0.8.19 finished in 1.23s\nCompiler run successful!\n\nDeployer: 0xa735b3c25f...\nDeployed to: 0x4054415432...\nTransaction hash: 0x6b4e0ff93a...\n",[103,1753,1751],{"__ignoreMap":101},[15,1755,1756,803],{},[33,1757,1758],{},"Key Information",[27,1760,1761,1767,1773],{},[30,1762,1763,1766],{},[33,1764,1765],{},"Deployer",": Your wallet address",[30,1768,1769,1772],{},[33,1770,1771],{},"Deployed to",": Your contract's address on the blockchain",[30,1774,1775,1778],{},[33,1776,1777],{},"Transaction hash",": Reference for the deployment transaction",[56,1780,1782],{"id":1781},"deploying-contracts-with-constructor-arguments","Deploying Contracts with Constructor Arguments",[15,1784,1785,1786,1789],{},"If your contract has constructor parameters, use the ",[103,1787,1788],{},"--constructor-args"," flag:",[96,1791,1793],{"className":1450,"code":1792,"language":1452,"meta":101,"style":101},"\u002F\u002F Example contract with constructor\ncontract MyToken {\n    constructor(string memory name, string memory symbol, uint256 supply) {\n        \u002F\u002F constructor logic\n    }\n}\n",[103,1794,1795,1800,1809,1845,1850,1854],{"__ignoreMap":101},[106,1796,1797],{"class":108,"line":109},[106,1798,1799],{"class":642},"\u002F\u002F Example contract with constructor\n",[106,1801,1802,1804,1807],{"class":108,"line":444},[106,1803,1483],{"class":124},[106,1805,1806],{"class":112}," MyToken",[106,1808,1489],{"class":578},[106,1810,1811,1814,1816,1819,1822,1825,1828,1830,1832,1835,1837,1839,1842],{"class":108,"line":602},[106,1812,1813],{"class":124},"    constructor",[106,1815,1516],{"class":578},[106,1817,1818],{"class":116},"string",[106,1820,1821],{"class":124}," memory",[106,1823,1824],{"class":112}," name",[106,1826,1827],{"class":578},", ",[106,1829,1818],{"class":116},[106,1831,1821],{"class":124},[106,1833,1834],{"class":112}," symbol",[106,1836,1827],{"class":578},[106,1838,1519],{"class":116},[106,1840,1841],{"class":112}," supply",[106,1843,1844],{"class":578},") {\n",[106,1846,1847],{"class":108,"line":611},[106,1848,1849],{"class":642},"        \u002F\u002F constructor logic\n",[106,1851,1852],{"class":108,"line":622},[106,1853,1546],{"class":578},[106,1855,1856],{"class":108,"line":629},[106,1857,1585],{"class":578},[15,1859,1860],{},"Deploy with arguments:",[96,1862,1864],{"className":98,"code":1863,"language":100,"meta":101,"style":101},"forge create src\u002FMyToken.sol:MyToken \\\n  --rpc-url $RPC_URL \\\n  --private-key $PRIVATE_KEY \\\n  --broadcast \\\n  --constructor-args \"MyToken\" \"MTK\" 1000000\n",[103,1865,1866,1877,1885,1893,1900],{"__ignoreMap":101},[106,1867,1868,1870,1872,1875],{"class":108,"line":109},[106,1869,323],{"class":112},[106,1871,1614],{"class":120},[106,1873,1874],{"class":120}," src\u002FMyToken.sol:MyToken",[106,1876,1620],{"class":124},[106,1878,1879,1881,1883],{"class":108,"line":444},[106,1880,1625],{"class":116},[106,1882,1680],{"class":578},[106,1884,1640],{"class":124},[106,1886,1887,1889,1891],{"class":108,"line":602},[106,1888,1634],{"class":116},[106,1890,1637],{"class":578},[106,1892,1640],{"class":124},[106,1894,1895,1898],{"class":108,"line":611},[106,1896,1897],{"class":116},"  --broadcast",[106,1899,1620],{"class":124},[106,1901,1902,1905,1908,1911],{"class":108,"line":622},[106,1903,1904],{"class":116},"  --constructor-args",[106,1906,1907],{"class":120}," \"MyToken\"",[106,1909,1910],{"class":120}," \"MTK\"",[106,1912,1913],{"class":116}," 1000000\n",[56,1915,1917],{"id":1916},"dry-run-deployment","Dry Run Deployment",[15,1919,1920],{},"Test your deployment without broadcasting to the network:",[96,1922,1924],{"className":98,"code":1923,"language":100,"meta":101,"style":101},"forge create src\u002FCounter.sol:Counter \\\n  --rpc-url $RPC_URL \\\n  --private-key $PRIVATE_KEY\n  # Note: No --broadcast flag\n",[103,1925,1926,1936,1944,1951],{"__ignoreMap":101},[106,1927,1928,1930,1932,1934],{"class":108,"line":109},[106,1929,323],{"class":112},[106,1931,1614],{"class":120},[106,1933,1617],{"class":120},[106,1935,1620],{"class":124},[106,1937,1938,1940,1942],{"class":108,"line":444},[106,1939,1625],{"class":116},[106,1941,1680],{"class":578},[106,1943,1640],{"class":124},[106,1945,1946,1948],{"class":108,"line":602},[106,1947,1634],{"class":116},[106,1949,1950],{"class":578}," $PRIVATE_KEY\n",[106,1952,1953],{"class":108,"line":611},[106,1954,1955],{"class":642},"  # Note: No --broadcast flag\n",[15,1957,1958],{},"This simulates the deployment and shows gas estimates without spending real tokens.",[56,1960,1962],{"id":1961},"verifying-your-deployment","Verifying Your Deployment",[84,1964,1965,1984],{},[30,1966,1967,803,1970],{},[33,1968,1969],{},"Check deployment on block explorer",[27,1971,1972,1978,1981],{},[30,1973,921,1974],{},[385,1975,1976],{"href":1976,"rel":1977},"https:\u002F\u002Fevm-sidechain.xrpl.org",[389],[30,1979,1980],{},"Search for your contract address",[30,1982,1983],{},"View the contract details",[30,1985,1986,803,1989],{},[33,1987,1988],{},"Interact with your contract using Cast",[96,1990,1992],{"className":98,"code":1991,"language":100,"meta":101,"style":101},"# Set your contract address\nCONTRACT_ADDRESS=\"your_deployed_contract_address\"\n\n# Get the current counter value (should be 0)\ncast call $CONTRACT_ADDRESS \"number()\" --rpc-url $RPC_URL\n\n# Increment the counter\ncast send $CONTRACT_ADDRESS \"increment()\" \\\n  --rpc-url $RPC_URL \\\n  --private-key $PRIVATE_KEY\n\n# Check the new value (should be 1)\ncast call $CONTRACT_ADDRESS \"number()\" --rpc-url $RPC_URL\n\n# Set a specific number\ncast send $CONTRACT_ADDRESS \"setNumber(uint256)\" 42 \\\n  --rpc-url $RPC_URL \\\n  --private-key $PRIVATE_KEY\n",[103,1993,1994,1999,2009,2013,2018,2035,2039,2044,2058,2066,2072,2076,2081,2095,2099,2105,2122,2131],{"__ignoreMap":101},[106,1995,1996],{"class":108,"line":109},[106,1997,1998],{"class":642},"# Set your contract address\n",[106,2000,2001,2004,2006],{"class":108,"line":444},[106,2002,2003],{"class":578},"CONTRACT_ADDRESS",[106,2005,1538],{"class":124},[106,2007,2008],{"class":120},"\"your_deployed_contract_address\"\n",[106,2010,2011],{"class":108,"line":602},[106,2012,626],{"emptyLinePlaceholder":625},[106,2014,2015],{"class":108,"line":611},[106,2016,2017],{"class":642},"# Get the current counter value (should be 0)\n",[106,2019,2020,2022,2025,2028,2031,2033],{"class":108,"line":622},[106,2021,743],{"class":112},[106,2023,2024],{"class":120}," call",[106,2026,2027],{"class":578}," $CONTRACT_ADDRESS ",[106,2029,2030],{"class":120},"\"number()\"",[106,2032,1337],{"class":116},[106,2034,1383],{"class":578},[106,2036,2037],{"class":108,"line":629},[106,2038,626],{"emptyLinePlaceholder":625},[106,2040,2041],{"class":108,"line":639},[106,2042,2043],{"class":642},"# Increment the counter\n",[106,2045,2046,2048,2051,2053,2056],{"class":108,"line":866},[106,2047,743],{"class":112},[106,2049,2050],{"class":120}," send",[106,2052,2027],{"class":578},[106,2054,2055],{"class":120},"\"increment()\"",[106,2057,1620],{"class":124},[106,2059,2060,2062,2064],{"class":108,"line":871},[106,2061,1625],{"class":116},[106,2063,1680],{"class":578},[106,2065,1640],{"class":124},[106,2067,2068,2070],{"class":108,"line":881},[106,2069,1634],{"class":116},[106,2071,1950],{"class":578},[106,2073,2074],{"class":108,"line":1283},[106,2075,626],{"emptyLinePlaceholder":625},[106,2077,2078],{"class":108,"line":1293},[106,2079,2080],{"class":642},"# Check the new value (should be 1)\n",[106,2082,2083,2085,2087,2089,2091,2093],{"class":108,"line":1577},[106,2084,743],{"class":112},[106,2086,2024],{"class":120},[106,2088,2027],{"class":578},[106,2090,2030],{"class":120},[106,2092,1337],{"class":116},[106,2094,1383],{"class":578},[106,2096,2097],{"class":108,"line":1582},[106,2098,626],{"emptyLinePlaceholder":625},[106,2100,2102],{"class":108,"line":2101},15,[106,2103,2104],{"class":642},"# Set a specific number\n",[106,2106,2108,2110,2112,2114,2117,2120],{"class":108,"line":2107},16,[106,2109,743],{"class":112},[106,2111,2050],{"class":120},[106,2113,2027],{"class":578},[106,2115,2116],{"class":120},"\"setNumber(uint256)\"",[106,2118,2119],{"class":116}," 42",[106,2121,1620],{"class":124},[106,2123,2125,2127,2129],{"class":108,"line":2124},17,[106,2126,1625],{"class":116},[106,2128,1680],{"class":578},[106,2130,1640],{"class":124},[106,2132,2134,2136],{"class":108,"line":2133},18,[106,2135,1634],{"class":116},[106,2137,1950],{"class":578},[56,2139,2141],{"id":2140},"contract-verification-optional","Contract Verification (Optional)",[15,2143,2144],{},"If the XRPL EVM sidechain supports contract verification, you can verify your contract:",[96,2146,2148],{"className":98,"code":2147,"language":100,"meta":101,"style":101},"forge verify-contract \\\n  --chain-id 1440002 \\\n  --watch \\\n  --verifier blockscout \\\n  --verifier-url https:\u002F\u002Fevm-sidechain.xrpl.org\u002Fapi \\\n  $CONTRACT_ADDRESS \\\n  src\u002FCounter.sol:Counter\n",[103,2149,2150,2159,2169,2176,2186,2196,2203],{"__ignoreMap":101},[106,2151,2152,2154,2157],{"class":108,"line":109},[106,2153,323],{"class":112},[106,2155,2156],{"class":120}," verify-contract",[106,2158,1620],{"class":124},[106,2160,2161,2164,2167],{"class":108,"line":444},[106,2162,2163],{"class":116},"  --chain-id",[106,2165,2166],{"class":116}," 1440002",[106,2168,1620],{"class":124},[106,2170,2171,2174],{"class":108,"line":602},[106,2172,2173],{"class":116},"  --watch",[106,2175,1620],{"class":124},[106,2177,2178,2181,2184],{"class":108,"line":611},[106,2179,2180],{"class":116},"  --verifier",[106,2182,2183],{"class":120}," blockscout",[106,2185,1620],{"class":124},[106,2187,2188,2191,2194],{"class":108,"line":622},[106,2189,2190],{"class":116},"  --verifier-url",[106,2192,2193],{"class":120}," https:\u002F\u002Fevm-sidechain.xrpl.org\u002Fapi",[106,2195,1620],{"class":124},[106,2197,2198,2201],{"class":108,"line":629},[106,2199,2200],{"class":578},"  $CONTRACT_ADDRESS ",[106,2202,1640],{"class":124},[106,2204,2205],{"class":108,"line":639},[106,2206,2207],{"class":120},"  src\u002FCounter.sol:Counter\n",[56,2209,2211],{"id":2210},"deployment-best-practices","Deployment Best Practices",[84,2213,2214,2275,2302],{},[30,2215,2216,803,2219],{},[33,2217,2218],{},"Always test locally first",[96,2220,2222],{"className":98,"code":2221,"language":100,"meta":101,"style":101},"# Start local Anvil node\nanvil\n\n# Deploy to local node (in another terminal)\nforge create src\u002FCounter.sol:Counter \\\n  --rpc-url http:\u002F\u002F127.0.0.1:8545 \\\n  --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \\\n  --broadcast\n",[103,2223,2224,2229,2234,2238,2243,2253,2262,2271],{"__ignoreMap":101},[106,2225,2226],{"class":108,"line":109},[106,2227,2228],{"class":642},"# Start local Anvil node\n",[106,2230,2231],{"class":108,"line":444},[106,2232,2233],{"class":112},"anvil\n",[106,2235,2236],{"class":108,"line":602},[106,2237,626],{"emptyLinePlaceholder":625},[106,2239,2240],{"class":108,"line":611},[106,2241,2242],{"class":642},"# Deploy to local node (in another terminal)\n",[106,2244,2245,2247,2249,2251],{"class":108,"line":622},[106,2246,323],{"class":112},[106,2248,1614],{"class":120},[106,2250,1617],{"class":120},[106,2252,1620],{"class":124},[106,2254,2255,2257,2260],{"class":108,"line":629},[106,2256,1625],{"class":116},[106,2258,2259],{"class":120}," http:\u002F\u002F127.0.0.1:8545",[106,2261,1620],{"class":124},[106,2263,2264,2266,2269],{"class":108,"line":639},[106,2265,1634],{"class":116},[106,2267,2268],{"class":116}," 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",[106,2270,1620],{"class":124},[106,2272,2273],{"class":108,"line":866},[106,2274,1645],{"class":116},[30,2276,2277,803,2280],{},[33,2278,2279],{},"Check gas costs before deployment",[96,2281,2283],{"className":98,"code":2282,"language":100,"meta":101,"style":101},"# Dry run to see gas estimates\nforge create src\u002FCounter.sol:Counter --rpc-url $RPC_URL\n",[103,2284,2285,2290],{"__ignoreMap":101},[106,2286,2287],{"class":108,"line":109},[106,2288,2289],{"class":642},"# Dry run to see gas estimates\n",[106,2291,2292,2294,2296,2298,2300],{"class":108,"line":444},[106,2293,323],{"class":112},[106,2295,1614],{"class":120},[106,2297,1617],{"class":120},[106,2299,1337],{"class":116},[106,2301,1383],{"class":578},[30,2303,2304,803,2307],{},[33,2305,2306],{},"Keep track of deployed contracts",[27,2308,2309,2312,2315],{},[30,2310,2311],{},"Save contract addresses in a deployment log",[30,2313,2314],{},"Document which version was deployed when",[30,2316,2317],{},"Keep constructor arguments for reference",[56,2319,2321],{"id":2320},"troubleshooting-common-issues","Troubleshooting Common Issues",[84,2323,2324,2340,2356,2369],{},[30,2325,2326,803,2329],{},[33,2327,2328],{},"Insufficient Funds",[27,2330,2331,2337],{},[30,2332,2333,2334],{},"Check your balance: ",[103,2335,2336],{},"cast balance YOUR_ADDRESS --rpc-url $RPC_URL",[30,2338,2339],{},"Get more test tokens from the faucet if needed",[30,2341,2342,803,2345],{},[33,2343,2344],{},"Private Key Format",[27,2346,2347,2353],{},[30,2348,2349,2350],{},"Ensure your private key starts with ",[103,2351,2352],{},"0x",[30,2354,2355],{},"Check for any extra spaces or characters",[30,2357,2358,803,2361],{},[33,2359,2360],{},"Network Issues",[27,2362,2363,2366],{},[30,2364,2365],{},"Verify the RPC URL is correct",[30,2367,2368],{},"Check if the XRPL EVM sidechain is operational",[30,2370,2371,803,2374],{},[33,2372,2373],{},"Compilation Errors",[27,2375,2376,2383],{},[30,2377,2378,2379,2382],{},"Run ",[103,2380,2381],{},"forge build"," first to check for compilation issues",[30,2384,2385],{},"Ensure all dependencies are properly installed",[56,2387,2389],{"id":2388},"using-legacy-transactions","Using Legacy Transactions",[15,2391,2392,2393,1789],{},"If you encounter EIP-1559 issues, use the ",[103,2394,2395],{},"--legacy",[96,2397,2399],{"className":98,"code":2398,"language":100,"meta":101,"style":101},"forge create src\u002FCounter.sol:Counter \\\n  --rpc-url $RPC_URL \\\n  --private-key $PRIVATE_KEY \\\n  --broadcast \\\n  --legacy\n",[103,2400,2401,2411,2419,2427,2433],{"__ignoreMap":101},[106,2402,2403,2405,2407,2409],{"class":108,"line":109},[106,2404,323],{"class":112},[106,2406,1614],{"class":120},[106,2408,1617],{"class":120},[106,2410,1620],{"class":124},[106,2412,2413,2415,2417],{"class":108,"line":444},[106,2414,1625],{"class":116},[106,2416,1680],{"class":578},[106,2418,1640],{"class":124},[106,2420,2421,2423,2425],{"class":108,"line":602},[106,2422,1634],{"class":116},[106,2424,1637],{"class":578},[106,2426,1640],{"class":124},[106,2428,2429,2431],{"class":108,"line":611},[106,2430,1897],{"class":116},[106,2432,1620],{"class":124},[106,2434,2435],{"class":108,"line":622},[106,2436,2437],{"class":116},"  --legacy\n",[400,2439],{},[15,2441,2442,2443,2446],{},"🎉 ",[33,2444,2445],{},"Congratulations!"," You have successfully deployed your first smart contract to the XRPL EVM sidechain using Foundry! Your contract is now live and ready for interaction.",[2448,2449,2450],"style",{},"html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}html pre.shiki code .sTRMh, html code.shiki .sTRMh{--shiki-default:#ADDCFF}html pre.shiki code .sWyjQ, html code.shiki .sWyjQ{--shiki-default:#FF9492}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sMAXC, html code.shiki .sMAXC{--shiki-default:#F0F3F6}html pre.shiki code .sQrFR, html code.shiki .sQrFR{--shiki-default:#BDC4CC}html pre.shiki code .sKpQp, html code.shiki .sKpQp{--shiki-default:#72F088}html pre.shiki code .sj_SG, html code.shiki .sj_SG{--shiki-default:#DBB7FF}",{"title":101,"searchDepth":444,"depth":444,"links":2452},[2453,2461,2471,2481],{"id":21,"depth":444,"text":22,"children":2454},[2455,2456,2457,2458,2459,2460],{"id":58,"depth":602,"text":59},{"id":73,"depth":602,"text":74},{"id":309,"depth":602,"text":310},{"id":332,"depth":602,"text":333},{"id":356,"depth":602,"text":357},{"id":394,"depth":602,"text":395},{"id":411,"depth":444,"text":412,"children":2462},[2463,2464,2465,2466,2467,2468,2469,2470],{"id":418,"depth":602,"text":419},{"id":455,"depth":602,"text":456},{"id":512,"depth":602,"text":513},{"id":646,"depth":602,"text":647},{"id":668,"depth":602,"text":669},{"id":693,"depth":602,"text":694},{"id":759,"depth":602,"text":760},{"id":796,"depth":602,"text":797},{"id":898,"depth":444,"text":899,"children":2472},[2473,2474,2475,2476,2477,2478,2479,2480],{"id":905,"depth":602,"text":906},{"id":961,"depth":602,"text":962},{"id":1000,"depth":602,"text":1001},{"id":1043,"depth":602,"text":1044},{"id":1110,"depth":602,"text":1111},{"id":1200,"depth":602,"text":1201},{"id":1311,"depth":602,"text":1312},{"id":1386,"depth":602,"text":1387},{"id":1429,"depth":444,"text":1430,"children":2482},[2483,2484,2485,2486,2487,2488,2489,2490,2491,2492],{"id":1440,"depth":602,"text":1441},{"id":1591,"depth":602,"text":1592},{"id":1743,"depth":602,"text":1744},{"id":1781,"depth":602,"text":1782},{"id":1916,"depth":602,"text":1917},{"id":1961,"depth":602,"text":1962},{"id":2140,"depth":602,"text":2141},{"id":2210,"depth":602,"text":2211},{"id":2320,"depth":602,"text":2321},{"id":2388,"depth":602,"text":2389},"In this workshop we will learn how to create an evm project with hardhat","md",{},"\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":5,"description":2493},"xrpl-trainings\u002Fevm-sidechain\u002Fset-up-an-evm-project.md","docs\u002Fevm-sidechain\u002Fset-up-an-evm-project","Ew7AlHfI9xMguOjbLIMtBVHLcY5jLuEuE5KlnMisYUw",[],[2503,2544,2558,2578,2599,2993],{"title":2504,"path":2505,"children":2506,"description":2543,"pages":1577},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[2507,2510,2513,2516,2519,2522,2525,2528,2531,2534,2537,2540],{"title":2508,"path":2509},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":2511,"path":2512},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":2514,"path":2515},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":2517,"path":2518},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":2520,"path":2521},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":2523,"path":2524},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":2526,"path":2527},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":2529,"path":2530},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":2532,"path":2533},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":2535,"path":2536},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":2538,"path":2539},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":2541,"path":2542},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",{"title":2545,"path":2546,"children":2547,"description":2557,"pages":611},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[2548,2551,2554],{"title":2549,"path":2550},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":2552,"path":2553},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":2555,"path":2556},"Creating an AMM Pool","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-an-amm-pool","This session will cover token issuance and providing liquidity for your tokens using the automatic market maker built in to the XRPL",{"title":2559,"path":2560,"children":2561,"description":2577,"pages":629},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[2562,2565,2568,2571,2574],{"title":2563,"path":2564},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":2566,"path":2567},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":2569,"path":2570},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":2572,"path":2573},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":2575,"path":2576},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",{"title":2579,"path":2580,"children":2581,"description":2598,"pages":639},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[2582,2585,2586,2589,2592,2595],{"title":2583,"path":2584},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":5,"path":2496},{"title":2587,"path":2588},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":2590,"path":2591},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":2593,"path":2594},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":2596,"path":2597},"Banking Contract Key Concepts","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-contract-key-concepts","This workshop will walk you through deploying a smart contract and building a full app on the XRPL EVM sidechain",{"title":2600,"path":2601,"children":2602,"description":2991,"pages":2992},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[2603,2623,2666,2716,2747,2804,2835,2851,2891,2925,2950,2966],{"title":2604,"path":2605,"children":2606},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[2607,2610,2613,2616],{"title":2608,"path":2609},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":2611,"path":2612},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":2614,"path":2615},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":2617,"path":2618,"children":2619},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[2620],{"title":2621,"path":2622},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":2624,"path":2625,"children":2626},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[2627,2630,2633,2636,2639,2642,2645,2648,2651],{"title":2628,"path":2629},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":2631,"path":2632},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":2634,"path":2635},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":2637,"path":2638},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":2640,"path":2641},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":2643,"path":2644},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":2646,"path":2647},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":2649,"path":2650},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":2617,"path":2652,"children":2653},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[2654,2657,2660,2663],{"title":2655,"path":2656},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":2658,"path":2659},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":2661,"path":2662},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":2664,"path":2665},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":2667,"path":2668,"children":2669},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[2670,2673,2676,2679,2682,2685,2688,2691,2694,2697,2700,2703],{"title":2671,"path":2672},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":2674,"path":2675},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":2677,"path":2678},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":2680,"path":2681},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":2683,"path":2684},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":2686,"path":2687},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":2689,"path":2690},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":2692,"path":2693},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":2695,"path":2696},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":2698,"path":2699},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":2701,"path":2702},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":2704,"path":2705,"children":2706},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[2707,2710,2713],{"title":2708,"path":2709},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":2711,"path":2712},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":2714,"path":2715},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":2717,"path":2718,"children":2719},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[2720,2723,2726,2729,2732,2735,2738,2741,2744],{"title":2721,"path":2722},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":2724,"path":2725},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":2727,"path":2728},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":2730,"path":2731},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":2733,"path":2734},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":2736,"path":2737},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":2739,"path":2740},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":2742,"path":2743},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":2745,"path":2746},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":2748,"path":2749,"children":2750},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[2751,2754,2757,2760,2763,2766,2769,2772,2775,2778,2781,2784,2787,2798],{"title":2752,"path":2753},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":2755,"path":2756},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":2758,"path":2759},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":2761,"path":2762},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":2764,"path":2765},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":2767,"path":2768},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":2770,"path":2771},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":2773,"path":2774},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":2776,"path":2777},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":2779,"path":2780},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":2782,"path":2783},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":2785,"path":2786},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":2704,"path":2788,"children":2789},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[2790,2792,2795],{"title":2708,"path":2791},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":2793,"path":2794},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":2796,"path":2797},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":2617,"path":2799,"children":2800},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[2801],{"title":2802,"path":2803},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":2805,"path":2806,"children":2807},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[2808,2811,2814,2817,2820,2823,2829],{"title":2809,"path":2810},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":2812,"path":2813},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":2815,"path":2816},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":2818,"path":2819},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":2821,"path":2822},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":2704,"path":2824,"children":2825},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[2826],{"title":2827,"path":2828},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":2617,"path":2830,"children":2831},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[2832],{"title":2833,"path":2834},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":2836,"path":2837,"children":2838},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[2839,2842,2845,2848],{"title":2840,"path":2841},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":2843,"path":2844},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":2846,"path":2847},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":2849,"path":2850},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":2852,"path":2853,"children":2854},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[2855,2858,2861,2864,2867,2879],{"title":2856,"path":2857},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":2859,"path":2860},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":2862,"path":2863},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":2865,"path":2866},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":2704,"path":2868,"children":2869},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[2870,2873,2876],{"title":2871,"path":2872},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":2874,"path":2875},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":2877,"path":2878},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":2617,"path":2880,"children":2881},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[2882,2885,2888],{"title":2883,"path":2884},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":2886,"path":2887},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":2889,"path":2890},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":2892,"path":2893,"children":2894},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[2895,2898,2901,2904,2907,2910,2913,2916],{"title":2896,"path":2897},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":2899,"path":2900},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":2902,"path":2903},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":2905,"path":2906},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":2908,"path":2909},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":2911,"path":2912},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":2914,"path":2915},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":2617,"path":2917,"children":2918},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[2919,2922],{"title":2920,"path":2921},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":2923,"path":2924},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":2926,"path":2927,"children":2928},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[2929,2932,2935,2938,2941,2944,2947],{"title":2930,"path":2931},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":2933,"path":2934},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":2936,"path":2937},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":2939,"path":2940},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":2942,"path":2943},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":2945,"path":2946},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":2948,"path":2949},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":2951,"path":2952,"children":2953},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[2954,2957,2960,2963],{"title":2955,"path":2956},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":2958,"path":2959},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":2961,"path":2962},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":2964,"path":2965},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":2967,"path":2968,"children":2969},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[2970,2973,2976,2979,2982,2985,2988],{"title":2971,"path":2972},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":2974,"path":2975},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":2977,"path":2978},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":2980,"path":2981},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":2983,"path":2984},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":2986,"path":2987},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":2989,"path":2990},"Homework 1: Amendment Status Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fhomework\u002Fhomework1","The XRPL Core Dev Bootcamp – Online Edition is a program designed for intermediate to advanced C++ developers looking to deepen their skills in the core of the XRP Ledger.",126,{"title":2994,"path":2995,"children":2996,"description":3003,"pages":602},"Tools","\u002Fdocs\u002Ftools",[2997,3000],{"title":2998,"path":2999},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":3001,"path":3002},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220768401]