[{"data":1,"prerenderedAt":1067},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security":560,"docs-tracks":561},{"id":4,"title":5,"body":6,"description":21,"extension":552,"meta":553,"navigation":554,"path":555,"seo":556,"source":557,"stem":558,"__hash__":559},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security.md","The Four Pillars of Security",{"type":7,"value":8,"toc":529},"minimark",[9,13,18,22,26,29,34,41,46,49,54,65,68,73,76,89,93,99,103,106,110,116,119,130,134,137,148,153,159,162,166,172,176,179,183,189,192,203,207,210,221,226,232,235,239,245,249,252,256,259,270,276,280,283,297,302,308,312,315,321,325,328,334,338,341,345,351,354,358,364,367,371,377,380,384,387,392,406,411,422,425,429,432,438,441,445,448,453,464,469,480,485,496,500,503,526],[10,11,5],"h1",{"id":12},"the-four-pillars-of-security",[14,15,17],"h2",{"id":16},"introduction","Introduction",[19,20,21],"p",{},"Before we dive into code, we need to understand what cryptography actually promises us. In rippled, every cryptographic operation serves one or more of four fundamental guarantees. These aren't abstract concepts—they're concrete properties that protect billions of dollars in value and enable a decentralized financial system to function without trusted intermediaries.",[14,23,25],{"id":24},"the-cryptographic-promise","The Cryptographic Promise",[19,27,28],{},"When you interact with the XRP Ledger, cryptography provides four essential security properties. Understanding these properties—what they mean, why they matter, and how they're achieved—is foundational to everything else in this module.",[30,31,33],"h3",{"id":32},"_1-confidentiality","1. Confidentiality",[19,35,36,40],{},[37,38,39],"strong",{},"Confidentiality"," means that sensitive information remains hidden from those who shouldn't see it.",[19,42,43],{},[37,44,45],{},"In XRPL Context",[19,47,48],{},"When two rippled nodes establish a connection, their communication is encrypted so that eavesdroppers on the network can't read their messages. The SSL\u002FTLS layer provides this guarantee, ensuring that even though the internet is fundamentally public, peer-to-peer conversations remain private.",[19,50,51],{},[37,52,53],{},"How It Works",[55,56,61],"pre",{"className":57,"code":59,"language":60},[58],"language-text","\u002F\u002F From src\u002Flibxrpl\u002Fbasics\u002Fmake_SSLContext.cpp\n\u002F\u002F SSL context is configured with strong cipher suites\nauto ctx = boost::asio::ssl::context(boost::asio::ssl::context::tlsv12);\nctx.set_options(\n    boost::asio::ssl::context::default_workaround |\n    boost::asio::ssl::context::no_sslv2 |\n    boost::asio::ssl::context::no_sslv3 |\n    boost::asio::ssl::context::single_dh_use);\n","text",[62,63,59],"code",{"__ignoreMap":64},"",[19,66,67],{},"Rippled uses TLS 1.2 or higher with carefully selected cipher suites that provide forward secrecy—even if a node's long-term key is compromised later, past communications remain protected.",[19,69,70],{},[37,71,72],{},"Why It Matters",[19,74,75],{},"Without confidentiality:",[77,78,79,83,86],"ul",{},[80,81,82],"li",{},"Attackers could monitor which transactions nodes are sharing",[80,84,85],{},"Network topology could be mapped by observing communication patterns",[80,87,88],{},"Strategic information about ledger state could leak to adversaries",[30,90,92],{"id":91},"_2-integrity","2. Integrity",[19,94,95,98],{},[37,96,97],{},"Integrity"," ensures that data hasn't been tampered with. A single flipped bit could change \"send 1 XRP\" to \"send 100 XRP\"—or worse, redirect funds to a different account entirely.",[19,100,101],{},[37,102,45],{},[19,104,105],{},"When you receive a transaction, you need to know that every byte is exactly as the sender intended. Hash functions provide this guarantee by creating unique fingerprints of data that change completely if even a single bit is modified.",[19,107,108],{},[37,109,53],{},[55,111,114],{"className":112,"code":113,"language":60},[58],"\u002F\u002F Transaction ID is computed from transaction data\nuint256 transactionID = sha512Half(serializedTransaction);\n\n\u002F\u002F Any change to the transaction changes the ID completely\n\u002F\u002F Original: \"Payment of 1 XRP\"     → ID: 0x7F3B9...\n\u002F\u002F Modified: \"Payment of 2 XRP\"     → ID: 0xA21C4...\n\u002F\u002F Even 1 bit different: completely different hash\n",[62,115,113],{"__ignoreMap":64},[19,117,118],{},"The SHA-512-Half hash function used throughout XRPL ensures that:",[77,120,121,124,127],{},[80,122,123],{},"You can't find two different transactions with the same ID (collision resistance)",[80,125,126],{},"You can't create a transaction that produces a specific ID (preimage resistance)",[80,128,129],{},"Changing even one bit produces a completely different hash (avalanche effect)",[19,131,132],{},[37,133,72],{},[19,135,136],{},"Without integrity:",[77,138,139,142,145],{},[80,140,141],{},"Transactions could be modified in transit",[80,143,144],{},"Malicious nodes could alter payment amounts",[80,146,147],{},"The entire concept of \"this transaction\" becomes meaningless",[19,149,150],{},[37,151,152],{},"Real-World Example",[55,154,157],{"className":155,"code":156,"language":60},[58],"\u002F\u002F Original transaction\n{\n  \"Account\": \"rN7n7otQDd6FczFgLdlqtyMVrn3LNU8B4C\",\n  \"Destination\": \"rLHzPsX6oXkzU9w7fvQqJvGjzVtL5oJ47R\",\n  \"Amount\": \"1000000\"  \u002F\u002F 1 XRP\n}\n\u002F\u002F Hash: 0x7F3B9E4A...\n\n\u002F\u002F Attacker tries to change amount\n{\n  \"Account\": \"rN7n7otQDd6FczFgLdlqtyMVrn3LNU8B4C\",\n  \"Destination\": \"rLHzPsX6oXkzU9w7fvQqJvGjzVtL5oJ47R\",\n  \"Amount\": \"100000000\"  \u002F\u002F 100 XRP - just one character different!\n}\n\u002F\u002F Hash: 0xA21C4F8D... - completely different!\n",[62,158,156],{"__ignoreMap":64},[19,160,161],{},"The hash changes so dramatically that any modification is immediately detectable.",[30,163,165],{"id":164},"_3-authenticity","3. Authenticity",[19,167,168,171],{},[37,169,170],{},"Authenticity"," proves the identity of the sender. When a transaction claims to come from a particular account, cryptographic signatures prove that the holder of that account's private key actually created it.",[19,173,174],{},[37,175,45],{},[19,177,178],{},"Every transaction on XRPL must be signed with the private key corresponding to the sending account. Without this signature, the transaction is rejected. The signature is mathematical proof that only someone with the secret key could have created it.",[19,180,181],{},[37,182,53],{},[55,184,187],{"className":185,"code":186,"language":60},[58],"\u002F\u002F Signing a transaction\nBuffer signature = sign(\n    publicKey,   \u002F\u002F Can be shared publicly\n    secretKey,   \u002F\u002F Must remain secret\n    txData       \u002F\u002F Transaction to sign\n);\n\n\u002F\u002F Anyone can verify the signature\nbool valid = verify(\n    publicKey,   \u002F\u002F Sender's public key\n    txData,      \u002F\u002F Transaction data\n    signature    \u002F\u002F Signature to verify\n);\n",[62,188,186],{"__ignoreMap":64},[19,190,191],{},"The mathematical relationship between public and secret keys ensures:",[77,193,194,197,200],{},[80,195,196],{},"Only the secret key holder can create a valid signature",[80,198,199],{},"Anyone with the public key can verify the signature",[80,201,202],{},"The signature proves authorization for this specific transaction",[19,204,205],{},[37,206,72],{},[19,208,209],{},"Without authenticity:",[77,211,212,215,218],{},[80,213,214],{},"Anyone could claim to be anyone",[80,216,217],{},"Funds could be stolen by impersonating account owners",[80,219,220],{},"The entire concept of ownership would collapse",[19,222,223],{},[37,224,225],{},"Attack Scenario (Prevented)",[55,227,230],{"className":228,"code":229,"language":60},[58],"\u002F\u002F Attacker tries to steal funds\nTransaction fakeTx = {\n  \"Account\": \"rVictimAccount...\",  \u002F\u002F Victim's address\n  \"Destination\": \"rAttackerAccount...\",\n  \"Amount\": \"1000000000\"  \u002F\u002F Attacker tries to drain account\n};\n\n\u002F\u002F Attacker creates fake signature\nBuffer fakeSignature = attacker.tryToForge();\n\n\u002F\u002F Verification fails!\nbool valid = verify(victimPublicKey, fakeTx, fakeSignature);\n\u002F\u002F Returns false - attacker doesn't have victim's secret key\n",[62,231,229],{"__ignoreMap":64},[19,233,234],{},"Without the victim's secret key, it's computationally infeasible to create a valid signature. The attacker would need to solve the discrete logarithm problem—which would take longer than the age of the universe with all of humanity's computing power.",[30,236,238],{"id":237},"_4-non-repudiation","4. Non-Repudiation",[19,240,241,244],{},[37,242,243],{},"Non-repudiation"," means that once you've signed something, you can't later deny you signed it. The mathematics of digital signatures make this guarantee absolute: if your private key created a signature, there's no ambiguity, no room for doubt.",[19,246,247],{},[37,248,45],{},[19,250,251],{},"This property is crucial for a financial system where disputes might arise and proof of authorization is essential. If you signed a payment, that signature is irrefutable proof that you authorized it.",[19,253,254],{},[37,255,53],{},[19,257,258],{},"Digital signatures create an undeniable link between:",[77,260,261,264,267],{},[80,262,263],{},"The signer (proved by possession of the secret key)",[80,265,266],{},"The message (what was signed)",[80,268,269],{},"The time (when it was signed, via timestamps or ledger sequence)",[55,271,274],{"className":272,"code":273,"language":60},[58],"\u002F\u002F Alice signs a payment\nauto [alicePubKey, aliceSecKey] = generateKeyPair(KeyType::ed25519);\nBuffer sig = sign(alicePubKey, aliceSecKey, payment);\n\n\u002F\u002F Later, Alice claims: \"I never authorized that payment!\"\n\u002F\u002F But the signature proves otherwise:\nbool proofOfAuthorization = verify(alicePubKey, payment, sig);\n\u002F\u002F Returns true - irrefutable proof Alice signed this\n",[62,275,273],{"__ignoreMap":64},[19,277,278],{},[37,279,72],{},[19,281,282],{},"Without non-repudiation:",[77,284,285,288,291,294],{},[80,286,287],{},"Senders could deny authorizing payments after they complete",[80,289,290],{},"Dispute resolution would be impossible",[80,292,293],{},"Legal accountability for transactions wouldn't exist",[80,295,296],{},"Financial systems couldn't function reliably",[19,298,299],{},[37,300,301],{},"Real-World Scenario",[55,303,306],{"className":304,"code":305,"language":60},[58],"Timeline:\n1. Alice signs transaction paying Bob 1000 XRP\n2. Transaction is validated and included in ledger\n3. Alice's balance decreases by 1000 XRP\n4. Alice claims: \"Someone stole my money! I never authorized this!\"\n\nInvestigation:\n- Retrieve the transaction from ledger history\n- Extract Alice's signature from the transaction\n- Verify signature against Alice's public key\n- Signature verifies ✓\n\nConclusion:\nAlice's secret key created this signature. Either:\na) Alice authorized the payment, or\nb) Someone gained access to Alice's secret key\n\nEither way, the signature is cryptographic proof that whoever held\nAlice's secret key at the time authorized this payment. This is why\nprotecting secret keys is absolutely critical.\n",[62,307,305],{"__ignoreMap":64},[14,309,311],{"id":310},"how-these-pillars-work-together","How These Pillars Work Together",[19,313,314],{},"These four properties aren't independent—they work together to create a complete security system:",[55,316,319],{"className":317,"code":318,"language":60},[58],"       ┌─────────────────────────────────────────┐\n       │         XRPL Security Model              │\n       └─────────────────────────────────────────┘\n                          │\n          ┌───────────────┴───────────────┐\n          │                               │\n    ┌─────▼─────┐                  ┌──────▼──────┐\n    │ Transport │                  │ Application │\n    │  Security │                  │  Security   │\n    └─────┬─────┘                  └──────┬──────┘\n          │                               │\n    ┌─────▼────────┐              ┌──────▼───────┐\n    │Confidentiality│              │ Authenticity │\n    │  (SSL\u002FTLS)    │              │ (Signatures) │\n    └──────────────┘               └──────────────┘\n          │                               │\n    ┌─────▼────────┐              ┌──────▼───────┐\n    │  Integrity    │              │Non-repudiation│\n    │   (Hashing)   │              │ (Signatures) │\n    └───────────────┘              └──────────────┘\n",[62,320,318],{"__ignoreMap":64},[30,322,324],{"id":323},"example-a-complete-transaction","Example: A Complete Transaction",[19,326,327],{},"Let's see all four pillars in action:",[55,329,332],{"className":330,"code":331,"language":60},[58],"\u002F\u002F 1. AUTHENTICITY - Alice creates and signs a transaction\nauto tx = Payment{\n    .account = alice.address,\n    .destination = bob.address,\n    .amount = XRP(100)\n};\n\nBuffer signature = sign(alice.publicKey, alice.secretKey, tx);\n\u002F\u002F Only Alice's secret key can create this valid signature\n\n\u002F\u002F 2. INTEGRITY - Transaction is serialized and hashed\nauto serialized = serialize(tx, signature);\nuint256 txID = sha512Half(serialized);\n\u002F\u002F Any tampering changes the hash completely\n\n\u002F\u002F 3. NON-REPUDIATION - Signature proves Alice authorized this\nbool authorized = verify(alice.publicKey, tx, signature);\n\u002F\u002F Alice cannot later deny signing this transaction\n\n\u002F\u002F 4. CONFIDENTIALITY - Transaction is sent to peers via encrypted connection\nsslStream.write(serialized);  \u002F\u002F Protected by TLS encryption\n\u002F\u002F Network observers can't read transaction details\n",[62,333,331],{"__ignoreMap":64},[14,335,337],{"id":336},"mathematical-foundations","Mathematical Foundations",[19,339,340],{},"The four pillars rest on hard mathematical problems:",[30,342,344],{"id":343},"for-authenticity-and-non-repudiation-the-discrete-logarithm-problem","For Authenticity and Non-Repudiation: The Discrete Logarithm Problem",[55,346,349],{"className":347,"code":348,"language":60},[58],"Given: PublicKey = SecretKey × G (where G is a generator point)\nHard Problem: Find SecretKey given only PublicKey\n\nComputing PublicKey from SecretKey: microseconds\nComputing SecretKey from PublicKey: longer than age of universe\n",[62,350,348],{"__ignoreMap":64},[19,352,353],{},"This asymmetry enables public-key cryptography. You can freely share your public key, and no one can derive your secret key from it.",[30,355,357],{"id":356},"for-integrity-collision-resistance","For Integrity: Collision Resistance",[55,359,362],{"className":360,"code":361,"language":60},[58],"Given: hash = SHA512Half(data)\nHard Problems:\n1. Find different data' where SHA512Half(data') = hash (preimage)\n2. Find data and data' where SHA512Half(data) = SHA512Half(data') (collision)\n\nComputing hash from data: microseconds\nFinding data from hash: computationally infeasible\n",[62,363,361],{"__ignoreMap":64},[19,365,366],{},"This one-way property makes hashes perfect for integrity checking.",[30,368,370],{"id":369},"for-confidentiality-symmetric-key-security","For Confidentiality: Symmetric Key Security",[55,372,375],{"className":373,"code":374,"language":60},[58],"Given: Encrypted = AES_Encrypt(key, plaintext)\nHard Problem: Find plaintext without key\n\nWith key: decryption in microseconds\nWithout key: trying all 2^256 possible keys\n",[62,376,374],{"__ignoreMap":64},[19,378,379],{},"TLS negotiates shared secret keys that both parties know but attackers don't.",[14,381,383],{"id":382},"trust-model","Trust Model",[19,385,386],{},"These four pillars enable a trust model where:",[19,388,389],{},[37,390,391],{},"You don't have to trust:",[77,393,394,397,400,403],{},[80,395,396],{},"Network operators",[80,398,399],{},"Node operators",[80,401,402],{},"Other validators",[80,404,405],{},"Anyone else",[19,407,408],{},[37,409,410],{},"You only have to trust:",[77,412,413,416,419],{},[80,414,415],{},"Mathematics (that the cryptographic problems are actually hard)",[80,417,418],{},"Your ability to protect your own secret keys",[80,420,421],{},"The open-source implementation (which you can audit)",[19,423,424],{},"This is the fundamental shift blockchain enables: from institutional trust to mathematical trust.",[14,426,428],{"id":427},"security-in-depth","Security in Depth",[19,430,431],{},"Rippled doesn't rely on one cryptographic technique—it uses multiple layers:",[55,433,436],{"className":434,"code":435,"language":60},[58],"Defense Layer 1: Network Security\n└─ TLS encryption (confidentiality)\n   └─ Prevents eavesdropping on communications\n\nDefense Layer 2: Transaction Security\n└─ Digital signatures (authenticity, non-repudiation)\n   └─ Proves who authorized what\n   └─ Hash-based integrity (integrity)\n      └─ Detects any tampering\n\nDefense Layer 3: Protocol Security\n└─ Consensus mechanism\n   └─ Requires majority agreement\n   └─ Byzantine fault tolerance\n",[62,437,435],{"__ignoreMap":64},[19,439,440],{},"Even if one layer has a vulnerability, others provide protection.",[14,442,444],{"id":443},"practical-implications","Practical Implications",[19,446,447],{},"Understanding these four pillars helps you:",[19,449,450],{},[37,451,452],{},"When reading code:",[77,454,455,458,461],{},[80,456,457],{},"Recognize which security property a function provides",[80,459,460],{},"Understand why certain checks are performed",[80,462,463],{},"Identify what would break if a step is skipped",[19,465,466],{},[37,467,468],{},"When writing code:",[77,470,471,474,477],{},[80,472,473],{},"Choose appropriate cryptographic primitives",[80,475,476],{},"Implement proper error handling",[80,478,479],{},"Avoid introducing vulnerabilities",[19,481,482],{},[37,483,484],{},"When debugging:",[77,486,487,490,493],{},[80,488,489],{},"Identify which security property is failing",[80,491,492],{},"Trace the cryptographic operation responsible",[80,494,495],{},"Understand what went wrong and why",[14,497,499],{"id":498},"summary","Summary",[19,501,502],{},"The four pillars of cryptographic security are:",[504,505,506,511,516,521],"ol",{},[80,507,508,510],{},[37,509,39],{}," - Keep secrets secret (via encryption)",[80,512,513,515],{},[37,514,97],{}," - Detect tampering (via hashing)",[80,517,518,520],{},[37,519,170],{}," - Prove identity (via signatures)",[80,522,523,525],{},[37,524,243],{}," - Prove authorization (via signatures)",[19,527,528],{},"These properties work together to create a system where trust is mathematical rather than institutional. In the chapters ahead, you'll see exactly how rippled implements these properties through specific cryptographic algorithms and careful coding practices.",{"title":64,"searchDepth":530,"depth":530,"links":531},2,[532,533,540,543,548,549,550,551],{"id":16,"depth":530,"text":17},{"id":24,"depth":530,"text":25,"children":534},[535,537,538,539],{"id":32,"depth":536,"text":33},3,{"id":91,"depth":536,"text":92},{"id":164,"depth":536,"text":165},{"id":237,"depth":536,"text":238},{"id":310,"depth":530,"text":311,"children":541},[542],{"id":323,"depth":536,"text":324},{"id":336,"depth":530,"text":337,"children":544},[545,546,547],{"id":343,"depth":536,"text":344},{"id":356,"depth":536,"text":357},{"id":369,"depth":536,"text":370},{"id":382,"depth":530,"text":383},{"id":427,"depth":530,"text":428},{"id":443,"depth":530,"text":444},{"id":498,"depth":530,"text":499},"md",{},true,"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":5,"description":21},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security.md","docs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security","aDz2402WLeof8GF9gxh3yo5L7spYoIjOxCLSbqIHGj0",[],[562,604,619,640,664,1056],{"title":563,"path":564,"children":565,"description":602,"pages":603},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[566,569,572,575,578,581,584,587,590,593,596,599],{"title":567,"path":568},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":570,"path":571},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":573,"path":574},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":576,"path":577},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":579,"path":580},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":582,"path":583},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":585,"path":586},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":588,"path":589},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":591,"path":592},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":594,"path":595},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":597,"path":598},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":600,"path":601},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",13,{"title":605,"path":606,"children":607,"description":617,"pages":618},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[608,611,614],{"title":609,"path":610},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":612,"path":613},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":615,"path":616},"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":620,"path":621,"children":622,"description":638,"pages":639},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[623,626,629,632,635],{"title":624,"path":625},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":627,"path":628},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":630,"path":631},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":633,"path":634},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":636,"path":637},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",6,{"title":641,"path":642,"children":643,"description":662,"pages":663},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[644,647,650,653,656,659],{"title":645,"path":646},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":648,"path":649},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":651,"path":652},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":654,"path":655},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":657,"path":658},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":660,"path":661},"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":665,"path":666,"children":667,"description":1054,"pages":1055},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[668,688,731,781,812,867,898,914,954,988,1013,1029],{"title":669,"path":670,"children":671},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[672,675,678,681],{"title":673,"path":674},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":676,"path":677},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":679,"path":680},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":682,"path":683,"children":684},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[685],{"title":686,"path":687},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":689,"path":690,"children":691},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[692,695,698,701,704,707,710,713,716],{"title":693,"path":694},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":696,"path":697},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":699,"path":700},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":702,"path":703},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":705,"path":706},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":708,"path":709},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":711,"path":712},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":714,"path":715},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":682,"path":717,"children":718},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[719,722,725,728],{"title":720,"path":721},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":723,"path":724},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":726,"path":727},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":729,"path":730},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":732,"path":733,"children":734},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[735,738,741,744,747,750,753,756,759,762,765,768],{"title":736,"path":737},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":739,"path":740},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":742,"path":743},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":745,"path":746},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":748,"path":749},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":751,"path":752},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":754,"path":755},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":757,"path":758},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":760,"path":761},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":763,"path":764},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":766,"path":767},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":769,"path":770,"children":771},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[772,775,778],{"title":773,"path":774},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":776,"path":777},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":779,"path":780},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":782,"path":783,"children":784},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[785,788,791,794,797,800,803,806,809],{"title":786,"path":787},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":789,"path":790},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":792,"path":793},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":795,"path":796},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":798,"path":799},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":801,"path":802},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":804,"path":805},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":807,"path":808},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":810,"path":811},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":813,"path":814,"children":815},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[816,817,820,823,826,829,832,835,838,841,844,847,850,861],{"title":5,"path":555},{"title":818,"path":819},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":821,"path":822},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":824,"path":825},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":827,"path":828},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":830,"path":831},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":833,"path":834},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":836,"path":837},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":839,"path":840},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":842,"path":843},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":845,"path":846},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":848,"path":849},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":769,"path":851,"children":852},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[853,855,858],{"title":773,"path":854},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":856,"path":857},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":859,"path":860},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":682,"path":862,"children":863},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[864],{"title":865,"path":866},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":868,"path":869,"children":870},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[871,874,877,880,883,886,892],{"title":872,"path":873},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":875,"path":876},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":878,"path":879},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":881,"path":882},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":884,"path":885},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":769,"path":887,"children":888},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[889],{"title":890,"path":891},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":682,"path":893,"children":894},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[895],{"title":896,"path":897},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":899,"path":900,"children":901},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[902,905,908,911],{"title":903,"path":904},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":906,"path":907},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":909,"path":910},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":912,"path":913},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":915,"path":916,"children":917},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[918,921,924,927,930,942],{"title":919,"path":920},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":922,"path":923},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":925,"path":926},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":928,"path":929},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":769,"path":931,"children":932},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[933,936,939],{"title":934,"path":935},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":937,"path":938},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":940,"path":941},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":682,"path":943,"children":944},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[945,948,951],{"title":946,"path":947},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":949,"path":950},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":952,"path":953},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":955,"path":956,"children":957},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[958,961,964,967,970,973,976,979],{"title":959,"path":960},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":962,"path":963},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":965,"path":966},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":968,"path":969},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":971,"path":972},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":974,"path":975},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":977,"path":978},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":682,"path":980,"children":981},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[982,985],{"title":983,"path":984},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":986,"path":987},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":989,"path":990,"children":991},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[992,995,998,1001,1004,1007,1010],{"title":993,"path":994},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":996,"path":997},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":999,"path":1000},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1002,"path":1003},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1005,"path":1006},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1008,"path":1009},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1011,"path":1012},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":1014,"path":1015,"children":1016},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1017,1020,1023,1026],{"title":1018,"path":1019},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1021,"path":1022},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1024,"path":1025},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1027,"path":1028},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1030,"path":1031,"children":1032},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1033,1036,1039,1042,1045,1048,1051],{"title":1034,"path":1035},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1037,"path":1038},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1040,"path":1041},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1043,"path":1044},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1046,"path":1047},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1049,"path":1050},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1052,"path":1053},"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":1057,"path":1058,"children":1059,"description":1066,"pages":536},"Tools","\u002Fdocs\u002Ftools",[1060,1063],{"title":1061,"path":1062},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1064,"path":1065},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220772568]