[{"data":1,"prerenderedAt":1141},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling":634,"docs-tracks":635},{"id":4,"title":5,"body":6,"description":21,"extension":626,"meta":627,"navigation":628,"path":629,"seo":630,"source":631,"stem":632,"__hash__":633},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling.md","Secure Memory Handling",{"type":7,"value":8,"toc":583},"minimark",[9,13,18,22,26,31,42,49,53,58,64,69,75,80,86,91,97,102,108,112,116,122,127,133,137,143,148,154,159,187,191,195,201,205,210,216,221,227,232,238,242,246,252,256,261,267,272,278,283,289,293,296,302,307,319,324,335,340,351,355,359,365,369,375,381,385,389,395,399,404,410,415,421,426,432,436,440,446,450,456,460,464,470,474,480,484,488,494,498,504,508,511,549,555,560],[10,11,5],"h1",{"id":12},"secure-memory-handling",[14,15,17],"h2",{"id":16},"introduction","Introduction",[19,20,21],"p",{},"Cryptographic algorithms are only as secure as the secrets they protect. If an attacker can read your secret keys from memory, all the mathematical sophistication in the world won't help. This chapter explores how rippled protects sensitive data in memory, why it matters, and how to write code that doesn't leak secrets.",[14,23,25],{"id":24},"the-memory-problem","The Memory Problem",[27,28,30],"h3",{"id":29},"where-secrets-live","Where Secrets Live",[32,33,38],"pre",{"className":34,"code":36,"language":37},[35],"language-text","void processTransaction() {\n    SecretKey sk = loadKeyFromFile();\n    \u002F\u002F Secret key is now in memory:\n    \u002F\u002F - Stack frame\n    \u002F\u002F - CPU registers\n    \u002F\u002F - Potentially CPU cache\n    \u002F\u002F - Maybe swapped to disk\n\n    auto sig = sign(pk, sk, tx);\n\n    \u002F\u002F Function returns\n    \u002F\u002F Stack frame deallocated\n    \u002F\u002F But what happens to the secret key bytes?\n}\n","text",[39,40,36],"code",{"__ignoreMap":41},"",[19,43,44,48],{},[45,46,47],"strong",{},"The problem:"," Memory isn't automatically erased when you're done with it.",[27,50,52],{"id":51},"attack-vectors","Attack Vectors",[19,54,55],{},[45,56,57],{},"1. Memory Dumps",[32,59,62],{"className":60,"code":61,"language":37},[35],"\u002F\u002F Process crashes\n\u002F\u002F Core dump written to disk\n\u002F\u002F Contains all process memory\n\u002F\u002F Including secret keys!\n",[39,63,61],{"__ignoreMap":41},[19,65,66],{},[45,67,68],{},"2. Swap Files",[32,70,73],{"className":71,"code":72,"language":37},[35],"\u002F\u002F System runs out of RAM\n\u002F\u002F Pages swapped to disk\n\u002F\u002F Secret keys written to swap file\n\u002F\u002F May persist even after process exits\n",[39,74,72],{"__ignoreMap":41},[19,76,77],{},[45,78,79],{},"3. Hibernation",[32,81,84],{"className":82,"code":83,"language":37},[35],"\u002F\u002F System hibernates\n\u002F\u002F All RAM written to hibernation file\n\u002F\u002F Includes secret keys\n\u002F\u002F File remains on disk until next boot\n",[39,85,83],{"__ignoreMap":41},[19,87,88],{},[45,89,90],{},"4. Cold Boot Attacks",[32,92,95],{"className":93,"code":94,"language":37},[35],"\u002F\u002F System powered off\n\u002F\u002F RAM still contains data for seconds\u002Fminutes\n\u002F\u002F Attacker boots different OS\n\u002F\u002F Reads RAM contents\n\u002F\u002F Recovers secret keys\n",[39,96,94],{"__ignoreMap":41},[19,98,99],{},[45,100,101],{},"5. Debugging\u002FInspection",[32,103,106],{"className":104,"code":105,"language":37},[35],"\u002F\u002F Debugger attached to process\n\u002F\u002F Can read all memory\n\u002F\u002F Can dump memory to file\n\u002F\u002F Secret keys exposed\n",[39,107,105],{"__ignoreMap":41},[14,109,111],{"id":110},"the-solution-secure-erasure","The Solution: Secure Erasure",[27,113,115],{"id":114},"why-memset-isnt-enough","Why memset() Isn't Enough",[32,117,120],{"className":118,"code":119,"language":37},[35],"\u002F\u002F ❌ WRONG - Compiler may optimize this away\nvoid clearKey(uint8_t* key, size_t size) {\n    memset(key, 0, size);\n    \u002F\u002F Compiler sees: \"Memory about to be freed\u002Funused\"\n    \u002F\u002F Optimizes: \"No need to write zeros, skip this\"\n    \u002F\u002F Result: Key NOT actually erased!\n}\n",[39,121,119],{"__ignoreMap":41},[19,123,124],{},[45,125,126],{},"Compiler optimization example:",[32,128,131],{"className":129,"code":130,"language":37},[35],"void function() {\n    uint8_t secretKey[32];\n    \u002F\u002F ... use secretKey ...\n\n    memset(secretKey, 0, 32);  \u002F\u002F Compiler: \"This write is never read\"\n    \u002F\u002F Optimized to: \u002F* nothing *\u002F\n}  \u002F\u002F Function returns with secretKey still in memory\n",[39,132,130],{"__ignoreMap":41},[27,134,136],{"id":135},"the-openssl_cleanse-solution","The OPENSSL_cleanse Solution",[32,138,141],{"className":139,"code":140,"language":37},[35],"\u002F\u002F From src\u002Flibxrpl\u002Fcrypto\u002Fsecure_erase.cpp\n\nvoid secure_erase(void* dest, std::size_t bytes)\n{\n    OPENSSL_cleanse(dest, bytes);\n}\n",[39,142,140],{"__ignoreMap":41},[19,144,145],{},[45,146,147],{},"Why OPENSSL_cleanse works:",[32,149,152],{"className":150,"code":151,"language":37},[35],"\u002F\u002F OpenSSL's implementation (simplified concept):\nvoid OPENSSL_cleanse(void* ptr, size_t len)\n{\n    \u002F\u002F Mark as volatile to prevent optimization\n    unsigned char volatile* vptr = (unsigned char volatile*)ptr;\n\n    while (len--) {\n        *vptr++ = 0;  \u002F\u002F Compiler cannot optimize away volatile writes\n    }\n\n    \u002F\u002F Additional measures:\n    \u002F\u002F - Memory barriers\n    \u002F\u002F - Inline assembly on some platforms\n    \u002F\u002F - Function marked with attributes preventing optimization\n}\n",[39,153,151],{"__ignoreMap":41},[19,155,156],{},[45,157,158],{},"Key properties:",[160,161,162,169,175,181],"ol",{},[163,164,165,168],"li",{},[45,166,167],{},"Cannot be optimized away",": Compiler forced to execute it",[163,170,171,174],{},[45,172,173],{},"Overwrites memory",": Zeros written to actual memory",[163,176,177,180],{},[45,178,179],{},"Works cross-platform",": Handles different compiler optimizations",[163,182,183,186],{},[45,184,185],{},"Validated",": Extensively tested across compilers and architectures",[14,188,190],{"id":189},"raii-resource-acquisition-is-initialization","RAII: Resource Acquisition Is Initialization",[27,192,194],{"id":193},"the-pattern","The Pattern",[32,196,199],{"className":197,"code":198,"language":37},[35],"class SecretKey\n{\nprivate:\n    std::uint8_t buf_[32];\n\npublic:\n    \u002F\u002F Constructor: Acquire resource\n    SecretKey(Slice const& slice)\n    {\n        std::memcpy(buf_, slice.data(), sizeof(buf_));\n    }\n\n    \u002F\u002F Destructor: Release resource (automatically called)\n    ~SecretKey()\n    {\n        secure_erase(buf_, sizeof(buf_));\n    }\n\n    \u002F\u002F Prevent copying (would lead to double-erase issues)\n    SecretKey(SecretKey const&) = delete;\n    SecretKey& operator=(SecretKey const&) = delete;\n\n    \u002F\u002F Allow moving (transfer ownership)\n    SecretKey(SecretKey&&) noexcept = default;\n    SecretKey& operator=(SecretKey&&) noexcept = default;\n};\n",[39,200,198],{"__ignoreMap":41},[27,202,204],{"id":203},"why-raii-matters","Why RAII Matters",[19,206,207],{},[45,208,209],{},"Automatic cleanup:",[32,211,214],{"className":212,"code":213,"language":37},[35],"void processTransaction() {\n    SecretKey sk = randomSecretKey();\n\n    \u002F\u002F Use key...\n    auto sig = sign(pk, sk, tx);\n\n    \u002F\u002F sk destructor automatically called here\n    \u002F\u002F Key erased even if exception thrown\n    \u002F\u002F No manual cleanup needed\n}\n",[39,215,213],{"__ignoreMap":41},[19,217,218],{},[45,219,220],{},"Exception safety:",[32,222,225],{"className":223,"code":224,"language":37},[35],"void riskyOperation() {\n    SecretKey sk = loadKey();\n\n    doSomething();       \u002F\u002F Might throw\n    doSomethingElse();   \u002F\u002F Might throw\n    finalStep();         \u002F\u002F Might throw\n\n    \u002F\u002F Even if any step throws, sk destructor runs\n    \u002F\u002F Key is securely erased\n}\n",[39,226,224],{"__ignoreMap":41},[19,228,229],{},[45,230,231],{},"No forgetting:",[32,233,236],{"className":234,"code":235,"language":37},[35],"\u002F\u002F ❌ Manual cleanup - easy to forget\nvoid manual() {\n    uint8_t key[32];\n    fillRandom(key, 32);\n\n    \u002F\u002F ... use key ...\n\n    secure_erase(key, 32);  \u002F\u002F Must remember!\n    \u002F\u002F What if we add early return?\n    \u002F\u002F What if exception thrown?\n}\n\n\u002F\u002F ✅ RAII cleanup - automatic\nvoid automatic() {\n    SecretKey key = randomSecretKey();\n\n    \u002F\u002F ... use key ...\n\n    \u002F\u002F Cleanup happens automatically\n    \u002F\u002F Works with early returns\n    \u002F\u002F Works with exceptions\n}\n",[39,237,235],{"__ignoreMap":41},[14,239,241],{"id":240},"secure-string-handling","Secure String Handling",[27,243,245],{"id":244},"the-problem-with-stdstring","The Problem with std::string",[32,247,250],{"className":248,"code":249,"language":37},[35],"\u002F\u002F ❌ std::string doesn't securely erase\nvoid badExample() {\n    std::string secretHex = \"1a2b3c4d...\";\n\n    \u002F\u002F Convert to binary\n    auto secret = parseHex(secretHex);\n\n    \u002F\u002F Use secret...\n\n    \u002F\u002F secretHex still in memory!\n    \u002F\u002F std::string's destructor doesn't erase\n    \u002F\u002F Data may be in multiple string instances (SSO, copies, etc.)\n}\n",[39,251,249],{"__ignoreMap":41},[27,253,255],{"id":254},"solutions","Solutions",[19,257,258],{},[45,259,260],{},"1. Explicit erasure:",[32,262,265],{"className":263,"code":264,"language":37},[35],"void explicitErase() {\n    std::string secretHex = \"1a2b3c4d...\";\n\n    \u002F\u002F Convert to binary\n    auto secret = parseHex(secretHex);\n\n    \u002F\u002F Use secret...\n\n    \u002F\u002F Explicitly erase string contents\n    secure_erase(\n        const_cast\u003Cchar*>(secretHex.data()),\n        secretHex.size());\n\n    \u002F\u002F Also erase the converted secret\n    secure_erase(\n        const_cast\u003Cuint8_t*>(secret.data()),\n        secret.size());\n}\n",[39,266,264],{"__ignoreMap":41},[19,268,269],{},[45,270,271],{},"2. Use SecretKey wrapper:",[32,273,276],{"className":274,"code":275,"language":37},[35],"void useWrapper() {\n    std::string secretHex = \"1a2b3c4d...\";\n\n    \u002F\u002F Convert to SecretKey (RAII protection)\n    SecretKey sk = parseSecretKey(secretHex);\n\n    \u002F\u002F Erase original string\n    secure_erase(\n        const_cast\u003Cchar*>(secretHex.data()),\n        secretHex.size());\n\n    \u002F\u002F sk automatically erased when out of scope\n}\n",[39,277,275],{"__ignoreMap":41},[19,279,280],{},[45,281,282],{},"3. Avoid std::string for secrets:",[32,284,287],{"className":285,"code":286,"language":37},[35],"\u002F\u002F Better: Use fixed-size buffers\nvoid fixedBuffer() {\n    uint8_t secretBytes[32];\n    getRandomBytes(secretBytes, 32);\n\n    SecretKey sk{Slice{secretBytes, 32}};\n\n    secure_erase(secretBytes, 32);\n\n    \u002F\u002F sk automatically erased\n}\n",[39,288,286],{"__ignoreMap":41},[14,290,292],{"id":291},"secure-allocators-advanced","Secure Allocators (Advanced)",[19,294,295],{},"For highly sensitive applications:",[32,297,300],{"className":298,"code":299,"language":37},[35],"\u002F\u002F Custom allocator that:\n\u002F\u002F 1. Locks memory (prevents swapping to disk)\n\u002F\u002F 2. Securely erases on deallocation\n\ntemplate\u003Ctypename T>\nclass secure_allocator\n{\npublic:\n    T* allocate(std::size_t n)\n    {\n        T* ptr = static_cast\u003CT*>(std::malloc(n * sizeof(T)));\n\n        \u002F\u002F Lock memory to prevent swapping\n        #ifdef _WIN32\n        VirtualLock(ptr, n * sizeof(T));\n        #else\n        mlock(ptr, n * sizeof(T));\n        #endif\n\n        return ptr;\n    }\n\n    void deallocate(T* ptr, std::size_t n)\n    {\n        \u002F\u002F Securely erase\n        OPENSSL_cleanse(ptr, n * sizeof(T));\n\n        \u002F\u002F Unlock\n        #ifdef _WIN32\n        VirtualUnlock(ptr, n * sizeof(T));\n        #else\n        munlock(ptr, n * sizeof(T));\n        #endif\n\n        std::free(ptr);\n    }\n};\n\n\u002F\u002F Usage\nstd::vector\u003Cuint8_t, secure_allocator\u003Cuint8_t>> secretData;\n",[39,301,299],{"__ignoreMap":41},[19,303,304],{},[45,305,306],{},"Benefits:",[308,309,310,313,316],"ul",{},[163,311,312],{},"Memory cannot be swapped to disk",[163,314,315],{},"Automatically erased on deallocation",[163,317,318],{},"Protected against paging attacks",[19,320,321],{},[45,322,323],{},"Drawbacks:",[308,325,326,329,332],{},[163,327,328],{},"Limited by OS limits on locked memory",[163,330,331],{},"Performance overhead",[163,333,334],{},"Complexity",[19,336,337],{},[45,338,339],{},"When to use:",[308,341,342,345,348],{},[163,343,344],{},"Extremely sensitive operations",[163,346,347],{},"Long-lived secrets",[163,349,350],{},"High-security requirements",[14,352,354],{"id":353},"stack-scrubbing","Stack Scrubbing",[27,356,358],{"id":357},"the-problem","The Problem",[32,360,363],{"className":361,"code":362,"language":37},[35],"void function() {\n    uint8_t secretKey[32];\n    fillRandom(secretKey, 32);\n\n    \u002F\u002F Use key...\n\n    secure_erase(secretKey, 32);\n\n    \u002F\u002F Stack frame still contains key!\n    \u002F\u002F Variables below secretKey might contain fragments\n}\n",[39,364,362],{"__ignoreMap":41},[27,366,368],{"id":367},"solution-overwrite-stack","Solution: Overwrite Stack",[32,370,373],{"className":371,"code":372,"language":37},[35],"void secureFunction() {\n    \u002F\u002F Allocate large array to overwrite stack\n    uint8_t stackScrubber[4096];\n    secure_erase(stackScrubber, sizeof(stackScrubber));\n\n    \u002F\u002F Now continue with sensitive operations\n    processSecrets();\n\n    \u002F\u002F Scrub again before returning\n    secure_erase(stackScrubber, sizeof(stackScrubber));\n}\n",[39,374,372],{"__ignoreMap":41},[19,376,377,380],{},[45,378,379],{},"Note:"," This is paranoid and rarely needed. RAII is usually sufficient.",[14,382,384],{"id":383},"cpu-registers-and-cache","CPU Registers and Cache",[27,386,388],{"id":387},"the-challenge","The Challenge",[32,390,393],{"className":391,"code":392,"language":37},[35],"\u002F\u002F Secret key passes through:\n\u002F\u002F 1. CPU registers (during computation)\n\u002F\u002F 2. L1\u002FL2\u002FL3 cache (for performance)\n\u002F\u002F 3. TLB (address translation)\n\n\u002F\u002F Cannot easily erase these!\n",[39,394,392],{"__ignoreMap":41},[27,396,398],{"id":397},"mitigations","Mitigations",[19,400,401],{},[45,402,403],{},"1. Minimize lifetime:",[32,405,408],{"className":406,"code":407,"language":37},[35],"{\n    SecretKey sk = loadKey();\n    auto sig = sign(pk, sk, tx);\n    \u002F\u002F sk destroyed immediately\n}  \u002F\u002F Scope ends, memory reused quickly\n",[39,409,407],{"__ignoreMap":41},[19,411,412],{},[45,413,414],{},"2. Overwrite with new data:",[32,416,419],{"className":417,"code":418,"language":37},[35],"\u002F\u002F Perform other operations that use same memory\n\u002F\u002F This overwrites cache and registers\ndoOtherWork();\n",[39,420,418],{"__ignoreMap":41},[19,422,423],{},[45,424,425],{},"3. Trust hardware:",[32,427,430],{"className":428,"code":429,"language":37},[35],"\u002F\u002F Modern CPUs have mechanisms to prevent\n\u002F\u002F cache-based attacks between processes\n\u002F\u002F Rely on OS and hardware security features\n",[39,431,429],{"__ignoreMap":41},[14,433,435],{"id":434},"best-practices","Best Practices",[27,437,439],{"id":438},"do","✅ DO:",[32,441,444],{"className":442,"code":443,"language":37},[35],"\u002F\u002F 1. Use RAII wrappers for secrets\nSecretKey sk = randomSecretKey();\n\u002F\u002F Automatic cleanup\n\n\u002F\u002F 2. Minimize secret lifetime\n{\n    SecretKey sk = loadKey();\n    auto sig = sign(pk, sk, tx);\n}  \u002F\u002F Erased immediately\n\n\u002F\u002F 3. Explicitly erase temporary buffers\nuint8_t temp[32];\ncrypto_prng()(temp, 32);\nSecretKey sk{Slice{temp, 32}};\nsecure_erase(temp, 32);  \u002F\u002F Clean up temp\n\n\u002F\u002F 4. Use secure_erase, not memset\nsecure_erase(buffer, size);\n\n\u002F\u002F 5. Mark sensitive functions with comments\n\u002F\u002F SECURITY: This function handles secret keys\nvoid processSecretKey(SecretKey const& sk) {\n    \u002F\u002F ...\n}\n",[39,445,443],{"__ignoreMap":41},[27,447,449],{"id":448},"dont","❌ DON'T:",[32,451,454],{"className":452,"code":453,"language":37},[35],"\u002F\u002F ❌ Don't use memset for secrets\nmemset(secretKey, 0, 32);  \u002F\u002F May be optimized away\n\n\u002F\u002F ❌ Don't use std::string for long-lived secrets\nstd::string secretKey = \u002F* ... *\u002F;  \u002F\u002F Not erased!\n\n\u002F\u002F ❌ Don't copy secrets unnecessarily\nSecretKey copy1 = original;  \u002F\u002F Now two copies!\nSecretKey copy2 = original;  \u002F\u002F Three copies!\n\n\u002F\u002F ❌ Don't log secrets\nstd::cout \u003C\u003C \"Key: \" \u003C\u003C hexKey \u003C\u003C \"\\n\";  \u002F\u002F Logs persist!\n\n\u002F\u002F ❌ Don't pass secrets by value\nvoid bad(SecretKey sk);      \u002F\u002F Copies made\nvoid good(SecretKey const& sk);  \u002F\u002F No copy\n",[39,455,453],{"__ignoreMap":41},[14,457,459],{"id":458},"defensive-programming","Defensive Programming",[27,461,463],{"id":462},"assume-the-worst","Assume the Worst",[32,465,468],{"className":466,"code":467,"language":37},[35],"\u002F\u002F Assume: Attacker can read all of your process memory\n\u002F\u002F\n\u002F\u002F Defense: Minimize time secrets exist in memory\n\u002F\u002F          Erase immediately when done\n\u002F\u002F          Use RAII to make erasure automatic\n",[39,469,467],{"__ignoreMap":41},[27,471,473],{"id":472},"multiple-layers","Multiple Layers",[32,475,478],{"className":476,"code":477,"language":37},[35],"\u002F\u002F 1. RAII (automatic cleanup)\nSecretKey sk = randomSecretKey();\n\n\u002F\u002F 2. Explicit temporary erasure\nuint8_t temp[32];\n\u002F* use temp *\u002F\nsecure_erase(temp, 32);\n\n\u002F\u002F 3. Scope minimization\n{\n    \u002F\u002F Use secret\n}  \u002F\u002F Destroyed here\n\n\u002F\u002F 4. Quick reuse of memory\n\u002F\u002F New allocations overwrite old data\n",[39,479,477],{"__ignoreMap":41},[14,481,483],{"id":482},"testing-secure-erasure","Testing Secure Erasure",[27,485,487],{"id":486},"verification-debug-build","Verification (Debug Build)",[32,489,492],{"className":490,"code":491,"language":37},[35],"void testSecureErase() {\n    uint8_t buffer[32];\n\n    \u002F\u002F Fill with known pattern\n    memset(buffer, 0xAA, 32);\n\n    \u002F\u002F Erase\n    secure_erase(buffer, 32);\n\n    \u002F\u002F Verify all zeros\n    for (int i = 0; i \u003C 32; ++i) {\n        assert(buffer[i] == 0);\n    }\n}\n",[39,493,491],{"__ignoreMap":41},[27,495,497],{"id":496},"memory-inspection-advanced","Memory Inspection (Advanced)",[32,499,502],{"className":500,"code":501,"language":37},[35],"\u002F\u002F Use debugger or memory inspection tools\n\u002F\u002F Verify secrets are actually erased\n\n\u002F\u002F Example with gdb:\n\u002F\u002F (gdb) x\u002F32xb &secretKey  \u002F\u002F Before erasure\n\u002F\u002F (gdb) next               \u002F\u002F Execute secure_erase\n\u002F\u002F (gdb) x\u002F32xb &secretKey  \u002F\u002F After erasure - should be zeros\n",[39,503,501],{"__ignoreMap":41},[14,505,507],{"id":506},"summary","Summary",[19,509,510],{},"Secure memory handling protects secrets from attackers who can read process memory:",[160,512,513,519,525,531,537,543],{},[163,514,515,518],{},[45,516,517],{},"Use OPENSSL_cleanse",": Cannot be optimized away by compiler",[163,520,521,524],{},[45,522,523],{},"Wrap in RAII classes",": Automatic cleanup, exception-safe",[163,526,527,530],{},[45,528,529],{},"Minimize lifetime",": Create secrets late, destroy early",[163,532,533,536],{},[45,534,535],{},"Explicit erasure",": Clean up temporary buffers",[163,538,539,542],{},[45,540,541],{},"Avoid std::string",": For long-lived secrets",[163,544,545,548],{},[45,546,547],{},"Test verification",": Ensure erasure actually happens",[19,550,551,554],{},[45,552,553],{},"Key principle:"," Assume attacker can read your memory. Make sure there's nothing to find.",[19,556,557],{},[45,558,559],{},"Implementation:",[308,561,562,571,577,580],{},[163,563,564,567,568],{},[39,565,566],{},"secure_erase()"," wraps ",[39,569,570],{},"OPENSSL_cleanse()",[163,572,573,576],{},[39,574,575],{},"SecretKey"," class uses RAII",[163,578,579],{},"Destructors automatically erase",[163,581,582],{},"Minimize copies and lifetime",{"title":41,"searchDepth":584,"depth":584,"links":585},2,[586,587,592,596,600,604,605,609,613,617,621,625],{"id":16,"depth":584,"text":17},{"id":24,"depth":584,"text":25,"children":588},[589,591],{"id":29,"depth":590,"text":30},3,{"id":51,"depth":590,"text":52},{"id":110,"depth":584,"text":111,"children":593},[594,595],{"id":114,"depth":590,"text":115},{"id":135,"depth":590,"text":136},{"id":189,"depth":584,"text":190,"children":597},[598,599],{"id":193,"depth":590,"text":194},{"id":203,"depth":590,"text":204},{"id":240,"depth":584,"text":241,"children":601},[602,603],{"id":244,"depth":590,"text":245},{"id":254,"depth":590,"text":255},{"id":291,"depth":584,"text":292},{"id":353,"depth":584,"text":354,"children":606},[607,608],{"id":357,"depth":590,"text":358},{"id":367,"depth":590,"text":368},{"id":383,"depth":584,"text":384,"children":610},[611,612],{"id":387,"depth":590,"text":388},{"id":397,"depth":590,"text":398},{"id":434,"depth":584,"text":435,"children":614},[615,616],{"id":438,"depth":590,"text":439},{"id":448,"depth":590,"text":449},{"id":458,"depth":584,"text":459,"children":618},[619,620],{"id":462,"depth":590,"text":463},{"id":472,"depth":590,"text":473},{"id":482,"depth":584,"text":483,"children":622},[623,624],{"id":486,"depth":590,"text":487},{"id":496,"depth":590,"text":497},{"id":506,"depth":584,"text":507},"md",{},true,"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":5,"description":21},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling.md","docs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling","cmGfdGb-BiL7hm-glyZS2IsjekqBGOByhnWroCa8kJI",[],[636,678,693,714,738,1130],{"title":637,"path":638,"children":639,"description":676,"pages":677},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[640,643,646,649,652,655,658,661,664,667,670,673],{"title":641,"path":642},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":644,"path":645},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":647,"path":648},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":650,"path":651},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":653,"path":654},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":656,"path":657},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":659,"path":660},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":662,"path":663},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":665,"path":666},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":668,"path":669},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":671,"path":672},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":674,"path":675},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",13,{"title":679,"path":680,"children":681,"description":691,"pages":692},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[682,685,688],{"title":683,"path":684},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":686,"path":687},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":689,"path":690},"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":694,"path":695,"children":696,"description":712,"pages":713},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[697,700,703,706,709],{"title":698,"path":699},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":701,"path":702},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":704,"path":705},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":707,"path":708},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":710,"path":711},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",6,{"title":715,"path":716,"children":717,"description":736,"pages":737},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[718,721,724,727,730,733],{"title":719,"path":720},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":722,"path":723},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":725,"path":726},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":728,"path":729},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":731,"path":732},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":734,"path":735},"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":739,"path":740,"children":741,"description":1128,"pages":1129},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[742,762,805,855,886,941,972,988,1028,1062,1087,1103],{"title":743,"path":744,"children":745},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[746,749,752,755],{"title":747,"path":748},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":750,"path":751},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":753,"path":754},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":756,"path":757,"children":758},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[759],{"title":760,"path":761},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":763,"path":764,"children":765},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[766,769,772,775,778,781,784,787,790],{"title":767,"path":768},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":770,"path":771},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":773,"path":774},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":776,"path":777},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":779,"path":780},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":782,"path":783},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":785,"path":786},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":788,"path":789},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":756,"path":791,"children":792},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[793,796,799,802],{"title":794,"path":795},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":797,"path":798},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":800,"path":801},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":803,"path":804},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":806,"path":807,"children":808},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[809,812,815,818,821,824,827,830,833,836,839,842],{"title":810,"path":811},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":813,"path":814},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":816,"path":817},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":819,"path":820},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":822,"path":823},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":825,"path":826},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":828,"path":829},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":831,"path":832},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":834,"path":835},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":837,"path":838},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":840,"path":841},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":843,"path":844,"children":845},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[846,849,852],{"title":847,"path":848},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":850,"path":851},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":853,"path":854},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":856,"path":857,"children":858},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[859,862,865,868,871,874,877,880,883],{"title":860,"path":861},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":863,"path":864},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":866,"path":867},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":869,"path":870},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":872,"path":873},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":875,"path":876},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":878,"path":879},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":881,"path":882},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":884,"path":885},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":887,"path":888,"children":889},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[890,893,896,899,902,905,908,911,914,917,918,921,924,935],{"title":891,"path":892},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":894,"path":895},"The Lifecycle of a Cryptographic Key","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":897,"path":898},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":900,"path":901},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":903,"path":904},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":906,"path":907},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":909,"path":910},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":912,"path":913},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":915,"path":916},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":5,"path":629},{"title":919,"path":920},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":922,"path":923},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":843,"path":925,"children":926},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[927,929,932],{"title":847,"path":928},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":930,"path":931},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":933,"path":934},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":756,"path":936,"children":937},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[938],{"title":939,"path":940},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":942,"path":943,"children":944},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[945,948,951,954,957,960,966],{"title":946,"path":947},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":949,"path":950},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":952,"path":953},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":955,"path":956},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":958,"path":959},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":843,"path":961,"children":962},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[963],{"title":964,"path":965},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":756,"path":967,"children":968},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[969],{"title":970,"path":971},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":973,"path":974,"children":975},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[976,979,982,985],{"title":977,"path":978},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":980,"path":981},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":983,"path":984},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":986,"path":987},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":989,"path":990,"children":991},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[992,995,998,1001,1004,1016],{"title":993,"path":994},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":996,"path":997},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":999,"path":1000},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":1002,"path":1003},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":843,"path":1005,"children":1006},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[1007,1010,1013],{"title":1008,"path":1009},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":1011,"path":1012},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":1014,"path":1015},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":756,"path":1017,"children":1018},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1019,1022,1025],{"title":1020,"path":1021},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1023,"path":1024},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1026,"path":1027},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1029,"path":1030,"children":1031},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[1032,1035,1038,1041,1044,1047,1050,1053],{"title":1033,"path":1034},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1036,"path":1037},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1039,"path":1040},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":1042,"path":1043},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":1045,"path":1046},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1048,"path":1049},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1051,"path":1052},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":756,"path":1054,"children":1055},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1056,1059],{"title":1057,"path":1058},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1060,"path":1061},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1063,"path":1064,"children":1065},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[1066,1069,1072,1075,1078,1081,1084],{"title":1067,"path":1068},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1070,"path":1071},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1073,"path":1074},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1076,"path":1077},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1079,"path":1080},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1082,"path":1083},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1085,"path":1086},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":1088,"path":1089,"children":1090},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1091,1094,1097,1100],{"title":1092,"path":1093},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1095,"path":1096},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1098,"path":1099},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1101,"path":1102},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1104,"path":1105,"children":1106},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1107,1110,1113,1116,1119,1122,1125],{"title":1108,"path":1109},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1111,"path":1112},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1114,"path":1115},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1117,"path":1118},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1120,"path":1121},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1123,"path":1124},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1126,"path":1127},"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":1131,"path":1132,"children":1133,"description":1140,"pages":590},"Tools","\u002Fdocs\u002Ftools",[1134,1137],{"title":1135,"path":1136},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1138,"path":1139},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220772540]