[{"data":1,"prerenderedAt":1115},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis":610,"docs-tracks":619},{"id":4,"title":5,"body":6,"description":601,"extension":602,"meta":603,"navigation":604,"path":605,"seo":606,"source":607,"stem":608,"__hash__":609},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Findex.md","AMM: Automated Market Maker",{"type":7,"value":8,"toc":581},"minimark",[9,13,18,27,30,33,52,55,59,62,93,96,98,102,105,107,112,117,120,126,140,146,148,152,157,160,165,172,178,180,184,189,192,197,204,210,212,216,221,224,229,239,245,247,251,254,277,279,283,459,461,465,468,471,474,477,480,482,486,521,525,555,559,562,569,571],[10,11,5],"h1",{"id":12},"amm-automated-market-maker",[14,15,17],"h2",{"id":16},"module-overview","Module Overview",[19,20,21,22,26],"p",{},"This module explores the ",[23,24,25],"strong",{},"Automated Market Maker (AMM)"," implementation in rippled, one of the most sophisticated DeFi features on the XRP Ledger. You will learn how AMM pools provide decentralized liquidity, how the constant product formula maintains price equilibrium, and how the pathfinding engine integrates AMM liquidity alongside the traditional order book (CLOB).",[19,28,29],{},"Building on your understanding of transactors (Module 02), ledger entries (Module 03), and the consensus mechanism (Module 08-09), you will dive into the complete AMM architecture: from pool creation to liquidity provision, trading fee governance, and auction slot mechanics.",[19,31,32],{},"By the end of this module, you will understand:",[34,35,36,40,43,46,49],"ul",{},[37,38,39],"li",{},"How AMM pools are created and managed as pseudo-accounts",[37,41,42],{},"The mathematical formulas behind swaps, deposits, and withdrawals",[37,44,45],{},"How LP tokens represent ownership of pool liquidity",[37,47,48],{},"The governance mechanisms for trading fees and auction slots",[37,50,51],{},"How pathfinding integrates AMM offers with CLOB offers",[53,54],"hr",{},[14,56,58],{"id":57},"prerequisites","Prerequisites",[19,60,61],{},"Before starting this module, ensure you have completed:",[34,63,64,72,79,86],{},[37,65,66,71],{},[67,68,70],"a",{"href":69},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03","SHAMap and NodeStore"," - SHAMap and NodeStore: Data Persistence and State Management",[37,73,74,78],{},[67,75,77],{"href":76},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis","Transactors"," - Understanding the Lifecycle of a Transaction",[37,80,81,85],{},[67,82,84],{"href":83},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08","Module Consensus I"," - Node, Consensus, and Ledger Fundamentals",[37,87,88,92],{},[67,89,91],{"href":90},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09","Module Consensus II"," - UNLs and Ledger Amendments",[19,94,95],{},"Understanding these concepts is essential as AMM builds upon the transactor framework and introduces new ledger entry types.",[53,97],{},[14,99,101],{"id":100},"explore-the-topics","Explore the Topics",[19,103,104],{},"This module covers the complete AMM implementation through focused topics:",[53,106],{},[108,109,111],"h3",{"id":110},"architecture","Architecture",[19,113,114],{},[23,115,116],{},"AMM Data Structures and Pool Management",[19,118,119],{},"Understand how AMM pools are represented in the ledger, the pseudo-account architecture, LP token design, and the relationships between AMM ledger entries and trustlines.",[19,121,122,125],{},[23,123,124],{},"Key Topics",": ltAMM ledger entry, pseudo-account, LP token currency code, VoteSlots, AuctionSlot",[19,127,128,131,132,136,137],{},[23,129,130],{},"Codebase",": ",[133,134,135],"code",{},"src\u002Fxrpld\u002Fapp\u002Fmisc\u002FAMMHelpers.h",", ",[133,138,139],{},"include\u002Fxrpl\u002Fprotocol\u002Fdetail\u002Fledger_entries.macro",[19,141,142],{},[67,143,145],{"href":144},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture","Explore AMM Architecture",[53,147],{},[108,149,151],{"id":150},"transactions","Transactions",[19,153,154],{},[23,155,156],{},"AMM Transaction Types and Lifecycle",[19,158,159],{},"Master all seven AMM transaction types: Create, Deposit, Withdraw, Vote, Bid, Delete, and Clawback. Learn the validation phases (preflight, preclaim, doApply) for each transactor.",[19,161,162,164],{},[23,163,124],{},": AMMCreate, AMMDeposit, AMMWithdraw, AMMVote, AMMBid, AMMDelete, AMMClawback",[19,166,167,131,169],{},[23,168,130],{},[133,170,171],{},"src\u002Fxrpld\u002Fapp\u002Ftx\u002Fdetail\u002FAMM*.cpp",[19,173,174],{},[67,175,177],{"href":176},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions","Explore AMM Transactions",[53,179],{},[108,181,183],{"id":182},"logic","Logic",[19,185,186],{},[23,187,188],{},"Constant Product Formula and LP Token Calculations",[19,190,191],{},"Deep dive into the AMM logic: the constant product invariant (x * y = k), swap formulas, LP token minting\u002Fburning calculations, and precision handling.",[19,193,194,196],{},[23,195,124],{},": Constant product formula, swapAssetIn, swapAssetOut, lpTokensOut, ammLPTokens, fee multipliers",[19,198,199,131,201],{},[23,200,130],{},[133,202,203],{},"src\u002Fxrpld\u002Fapp\u002Fmisc\u002FAMMHelpers.cpp",[19,205,206],{},[67,207,209],{"href":208},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic","Explore AMM Logic",[53,211],{},[108,213,215],{"id":214},"pathfinding-integration","Pathfinding Integration",[19,217,218],{},[23,219,220],{},"AMM Liquidity in Payment Paths",[19,222,223],{},"Discover how the pathfinding engine generates synthetic AMM offers, competes with CLOB liquidity, and routes payments through optimal paths combining both liquidity sources.",[19,225,226,228],{},[23,227,124],{},": AMMLiquidity, AMMOffer, AMMContext, Fibonacci sequence offers, quality matching",[19,230,231,131,233,136,236],{},[23,232,130],{},[133,234,235],{},"src\u002Fxrpld\u002Fapp\u002Fpaths\u002Fdetail\u002FAMMLiquidity.cpp",[133,237,238],{},"src\u002Fxrpld\u002Fapp\u002Fpaths\u002Fdetail\u002FAMMOffer.cpp",[19,240,241],{},[67,242,244],{"href":243},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding","Explore AMM Pathfinding",[53,246],{},[14,248,250],{"id":249},"what-you-will-learn","What You Will Learn",[19,252,253],{},"By completing this module, you will be able to:",[34,255,256,259,262,265,268,271,274],{},[37,257,258],{},"Explain how AMM pools maintain price equilibrium through the constant product formula",[37,260,261],{},"Trace AMM transactions through the complete transactor lifecycle",[37,263,264],{},"Calculate LP token amounts for deposits and withdrawals",[37,266,267],{},"Understand the trading fee governance mechanism and auction slot bidding",[37,269,270],{},"Debug AMM-related issues using pool balances and invariant checks",[37,272,273],{},"Implement test scenarios for AMM functionality",[37,275,276],{},"Navigate the AMM codebase efficiently",[53,278],{},[14,280,282],{"id":281},"key-files-reference","Key Files Reference",[284,285,286,302],"table",{},[287,288,289],"thead",{},[290,291,292,296,299],"tr",{},[293,294,295],"th",{},"Component",[293,297,298],{},"Location",[293,300,301],{},"Purpose",[303,304,305,319,332,345,358,371,384,397,410,422,434,446],"tbody",{},[290,306,307,311,316],{},[308,309,310],"td",{},"AMMCreate",[308,312,313],{},[133,314,315],{},"src\u002Fxrpld\u002Fapp\u002Ftx\u002Fdetail\u002FAMMCreate.cpp",[308,317,318],{},"Pool creation transactor",[290,320,321,324,329],{},[308,322,323],{},"AMMDeposit",[308,325,326],{},[133,327,328],{},"src\u002Fxrpld\u002Fapp\u002Ftx\u002Fdetail\u002FAMMDeposit.cpp",[308,330,331],{},"Liquidity deposit transactor",[290,333,334,337,342],{},[308,335,336],{},"AMMWithdraw",[308,338,339],{},[133,340,341],{},"src\u002Fxrpld\u002Fapp\u002Ftx\u002Fdetail\u002FAMMWithdraw.cpp",[308,343,344],{},"Liquidity withdrawal transactor",[290,346,347,350,355],{},[308,348,349],{},"AMMVote",[308,351,352],{},[133,353,354],{},"src\u002Fxrpld\u002Fapp\u002Ftx\u002Fdetail\u002FAMMVote.cpp",[308,356,357],{},"Fee voting transactor",[290,359,360,363,368],{},[308,361,362],{},"AMMBid",[308,364,365],{},[133,366,367],{},"src\u002Fxrpld\u002Fapp\u002Ftx\u002Fdetail\u002FAMMBid.cpp",[308,369,370],{},"Auction slot bidding transactor",[290,372,373,376,381],{},[308,374,375],{},"AMMDelete",[308,377,378],{},[133,379,380],{},"src\u002Fxrpld\u002Fapp\u002Ftx\u002Fdetail\u002FAMMDelete.cpp",[308,382,383],{},"Pool deletion transactor",[290,385,386,389,394],{},[308,387,388],{},"AMMHelpers",[308,390,391],{},[133,392,393],{},"src\u002Fxrpld\u002Fapp\u002Fmisc\u002Fdetail\u002FAMMHelpers.cpp",[308,395,396],{},"Mathematical formulas",[290,398,399,402,407],{},[308,400,401],{},"AMMUtils",[308,403,404],{},[133,405,406],{},"src\u002Fxrpld\u002Fapp\u002Fmisc\u002Fdetail\u002FAMMUtils.cpp",[308,408,409],{},"Utility functions",[290,411,412,415,419],{},[308,413,414],{},"AMMLiquidity",[308,416,417],{},[133,418,235],{},[308,420,421],{},"Pathfinding integration",[290,423,424,427,431],{},[308,425,426],{},"AMMOffer",[308,428,429],{},[133,430,238],{},[308,432,433],{},"Synthetic offer generation",[290,435,436,439,443],{},[308,437,438],{},"ltAMM Entry",[308,440,441],{},[133,442,139],{},[308,444,445],{},"Ledger entry definition",[290,447,448,451,456],{},[308,449,450],{},"AMM Feature",[308,452,453],{},[133,454,455],{},"include\u002Fxrpl\u002Fprotocol\u002Fdetail\u002Ffeatures.macro",[308,457,458],{},"Amendment registration",[53,460],{},[14,462,464],{"id":463},"homework","Homework",[19,466,467],{},"Implement and test AMM functionality, exploring pool creation, liquidity management, and pathfinding integration.",[19,469,470],{},"Homework 1: AMM Pool Lifecycle",[19,472,473],{},"Create an AMM pool, perform deposits and withdrawals, and verify the constant product invariant is maintained throughout.",[19,475,476],{},"Homework 2: AMM Pathfinding Analysis",[19,478,479],{},"Analyze how payments route through AMM pools versus CLOB offers, comparing execution quality and slippage.",[53,481],{},[108,483,485],{"id":484},"helpful-resources","Helpful Resources",[34,487,488,497,502,507,513],{},[37,489,490,491],{},"Rippled Repository: ",[67,492,496],{"href":493,"rel":494},"https:\u002F\u002Fgithub.com\u002FXRPLF\u002Frippled",[495],"nofollow","github.com\u002FXRPLF\u002Frippled",[37,498,499,500],{},"AMM Transactors: ",[133,501,171],{},[37,503,504,505],{},"AMM Helpers: ",[133,506,393],{},[37,508,509,510],{},"AMM Tests: ",[133,511,512],{},"src\u002Ftest\u002Fapp\u002FAMM_test.cpp",[37,514,515,516],{},"XLS-30d Specification: ",[67,517,520],{"href":518,"rel":519},"https:\u002F\u002Fgithub.com\u002FXRPLF\u002FXRPL-Standards\u002Ftree\u002Fmaster\u002FXLS-30d",[495],"XRPL AMM Amendment",[108,522,524],{"id":523},"tips-for-success","Tips for Success",[526,527,528,534,540,546],"ol",{},[37,529,530,533],{},[23,531,532],{},"Start with AMMCreate",": Understanding pool creation helps contextualize all other operations",[37,535,536,539],{},[23,537,538],{},"Trace the Math",": Use a calculator to verify swap formulas with example values",[37,541,542,545],{},[23,543,544],{},"Check Invariants",": The constant product (A * B) should never decrease",[37,547,548,131,551,554],{},[23,549,550],{},"Use Test Harness",[133,552,553],{},"src\u002Ftest\u002Fapp\u002FAMM.h"," provides utilities for testing",[14,556,558],{"id":557},"questions","Questions",[19,560,561],{},"If you have any questions about the homework or would like us to review your work, feel free to contact us.",[19,563,564],{},[67,565,568],{"href":566,"rel":567},"https:\u002F\u002Fdocs.google.com\u002Fforms\u002Fd\u002Fe\u002F1FAIpQLSe7qIbqepUKGVJxmWFHv0rs1zsBAzk8G6y5-bfz0Yd5rqW_5A\u002Fviewform",[495],"Submit Feedback",[53,570],{},[19,572,573,576,577],{},[23,574,575],{},"Next Module",": Building an amendment I - ",[67,578,580],{"href":579},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10","Lifecycle and Core Protocol Impact",{"title":582,"searchDepth":583,"depth":583,"links":584},"",2,[585,586,587,594,595,596,600],{"id":16,"depth":583,"text":17},{"id":57,"depth":583,"text":58},{"id":100,"depth":583,"text":101,"children":588},[589,591,592,593],{"id":110,"depth":590,"text":111},3,{"id":150,"depth":590,"text":151},{"id":182,"depth":590,"text":183},{"id":214,"depth":590,"text":215},{"id":249,"depth":583,"text":250},{"id":281,"depth":583,"text":282},{"id":463,"depth":583,"text":464,"children":597},[598,599],{"id":484,"depth":590,"text":485},{"id":523,"depth":590,"text":524},{"id":557,"depth":583,"text":558},"This module explores the Automated Market Maker (AMM) implementation in rippled, one of the most sophisticated DeFi features on the XRP Ledger. You will learn how AMM pools provide decentralized liquidity, how the constant product formula maintains price equilibrium, and how the pathfinding engine integrates AMM liquidity alongside the traditional order book (CLOB).","md",{},true,"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",{"title":5,"description":601},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002FREADME.md","docs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Findex","TMfQBVvaX0f5mwOiVu7rz3wHHa31YB-Np1KnAENDv7o",[611,613,615,617],{"path":144,"description":612},"AMM Architecture for AMM: Automated Market Maker, in the Core Dev Bootcamp: XRPL Commons docs.",{"path":208,"description":614},"AMM Logic for AMM: Automated Market Maker, in the Core Dev Bootcamp: XRPL Commons docs.",{"path":243,"description":616},"Pathfinding Integration for AMM: Automated Market Maker, in the Core Dev Bootcamp: XRPL Commons docs.",{"path":176,"description":618},"AMM Transactions for AMM: Automated Market Maker, in the Core Dev Bootcamp: XRPL Commons docs.",[620,662,677,698,722,1104],{"title":621,"path":622,"children":623,"description":660,"pages":661},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[624,627,630,633,636,639,642,645,648,651,654,657],{"title":625,"path":626},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":628,"path":629},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":631,"path":632},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":634,"path":635},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":637,"path":638},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":640,"path":641},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":643,"path":644},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":646,"path":647},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":649,"path":650},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":652,"path":653},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":655,"path":656},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":658,"path":659},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",13,{"title":663,"path":664,"children":665,"description":675,"pages":676},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[666,669,672],{"title":667,"path":668},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":670,"path":671},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":673,"path":674},"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",4,{"title":678,"path":679,"children":680,"description":696,"pages":697},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[681,684,687,690,693],{"title":682,"path":683},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":685,"path":686},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":688,"path":689},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":691,"path":692},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":694,"path":695},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",6,{"title":699,"path":700,"children":701,"description":720,"pages":721},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[702,705,708,711,714,717],{"title":703,"path":704},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":706,"path":707},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":709,"path":710},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":712,"path":713},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":715,"path":716},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":718,"path":719},"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",7,{"title":723,"path":724,"children":725,"description":1102,"pages":1103},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[726,746,789,838,868,925,956,972,1012,1045,1069,1078],{"title":727,"path":728,"children":729},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[730,733,736,739],{"title":731,"path":732},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":734,"path":735},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":737,"path":738},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":740,"path":741,"children":742},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[743],{"title":744,"path":745},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":747,"path":748,"children":749},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[750,753,756,759,762,765,768,771,774],{"title":751,"path":752},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":754,"path":755},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":757,"path":758},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":760,"path":761},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":763,"path":764},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":766,"path":767},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":769,"path":770},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":772,"path":773},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":740,"path":775,"children":776},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[777,780,783,786],{"title":778,"path":779},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":781,"path":782},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":784,"path":785},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":787,"path":788},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":790,"path":69,"children":791},"Anatomy of Rippled: SHAMap and NodeStore",[792,795,798,801,804,807,810,813,816,819,822,825],{"title":793,"path":794},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":796,"path":797},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":799,"path":800},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":802,"path":803},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":805,"path":806},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":808,"path":809},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":811,"path":812},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":814,"path":815},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":817,"path":818},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":820,"path":821},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":823,"path":824},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":826,"path":827,"children":828},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[829,832,835],{"title":830,"path":831},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":833,"path":834},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":836,"path":837},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":839,"path":76,"children":840},"Transactors: Understanding the Lifecycle of a Transaction",[841,844,847,850,853,856,859,862,865],{"title":842,"path":843},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":845,"path":846},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":848,"path":849},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":851,"path":852},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":854,"path":855},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":857,"path":858},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":860,"path":861},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":863,"path":864},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":866,"path":867},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":869,"path":870,"children":871},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[872,875,878,881,884,887,890,893,896,899,902,905,908,919],{"title":873,"path":874},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":876,"path":877},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":879,"path":880},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":882,"path":883},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":885,"path":886},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":888,"path":889},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":891,"path":892},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":894,"path":895},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":897,"path":898},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":900,"path":901},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":903,"path":904},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":906,"path":907},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":826,"path":909,"children":910},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[911,913,916],{"title":830,"path":912},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":914,"path":915},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":917,"path":918},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":740,"path":920,"children":921},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[922],{"title":923,"path":924},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":926,"path":927,"children":928},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[929,932,935,938,941,944,950],{"title":930,"path":931},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":933,"path":934},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":936,"path":937},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":939,"path":940},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":942,"path":943},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":826,"path":945,"children":946},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[947],{"title":948,"path":949},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":740,"path":951,"children":952},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[953],{"title":954,"path":955},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":957,"path":958,"children":959},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[960,963,966,969],{"title":961,"path":962},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":964,"path":965},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":967,"path":968},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":970,"path":971},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":973,"path":974,"children":975},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[976,979,982,985,988,1000],{"title":977,"path":978},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":980,"path":981},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":983,"path":984},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":986,"path":987},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":826,"path":989,"children":990},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[991,994,997],{"title":992,"path":993},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":995,"path":996},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":998,"path":999},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":740,"path":1001,"children":1002},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1003,1006,1009],{"title":1004,"path":1005},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1007,"path":1008},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1010,"path":1011},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1013,"path":83,"children":1014},"Consensus I: Node, Consensus, and Ledger Fundamentals",[1015,1018,1021,1024,1027,1030,1033,1036],{"title":1016,"path":1017},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1019,"path":1020},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1022,"path":1023},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":1025,"path":1026},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":1028,"path":1029},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1031,"path":1032},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1034,"path":1035},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":740,"path":1037,"children":1038},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1039,1042],{"title":1040,"path":1041},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1043,"path":1044},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1046,"path":90,"children":1047},"Consensus II: UNLs and Ledger Amendments",[1048,1051,1054,1057,1060,1063,1066],{"title":1049,"path":1050},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1052,"path":1053},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1055,"path":1056},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1058,"path":1059},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1061,"path":1062},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1064,"path":1065},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1067,"path":1068},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":5,"path":605,"children":1070},[1071,1073,1075,1077],{"title":1072,"path":144},"AMM Architecture",{"title":1074,"path":176},"AMM Transactions",{"title":1076,"path":208},"AMM Logic",{"title":215,"path":243},{"title":1079,"path":579,"children":1080},"Building Amendments: Lifecycle and Core Protocol Impact",[1081,1084,1087,1090,1093,1096,1099],{"title":1082,"path":1083},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1085,"path":1086},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1088,"path":1089},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1091,"path":1092},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1094,"path":1095},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1097,"path":1098},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1100,"path":1101},"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":1105,"path":1106,"children":1107,"description":1114,"pages":590},"Tools","\u002Fdocs\u002Ftools",[1108,1111],{"title":1109,"path":1110},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1112,"path":1113},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220775540]