[{"data":1,"prerenderedAt":1193},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key":3,"docs-kids-\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key":686,"docs-tracks":687},{"id":4,"title":5,"body":6,"description":21,"extension":678,"meta":679,"navigation":680,"path":681,"seo":682,"source":683,"stem":684,"__hash__":685},"docs\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key.md","The Lifecycle of a Cryptographic Key",{"type":7,"value":8,"toc":650},"minimark",[9,13,18,22,25,29,41,46,49,59,63,74,80,86,121,125,131,137,140,144,147,151,157,160,164,167,172,178,183,206,211,233,238,244,248,262,266,277,281,287,290,304,307,311,314,318,323,329,334,340,344,347,353,358,364,367,372,378,387,390,394,401,407,410,430,434,437,443,447,453,458,478,483,494,498,501,507,510,521,525,530,536,541,555,560,566,573,577,580,586,589,595,599,605,609,647],[10,11,5],"h1",{"id":12},"the-lifecycle-of-a-cryptographic-key",[14,15,17],"h2",{"id":16},"introduction","Introduction",[19,20,21],"p",{},"Let's follow the lifecycle of a cryptographic key in rippled, from its creation as random noise to its role as the foundation of an account's identity. This journey touches every aspect of rippled's cryptographic system and shows how the pieces fit together.",[19,23,24],{},"Understanding this lifecycle is crucial because keys are the foundation of everything in XRPL. Every account, every transaction, every validator message—all depend on the proper generation, handling, and use of cryptographic keys.",[14,26,28],{"id":27},"the-journey-begins-birth-through-randomness","The Journey Begins: Birth Through Randomness",[19,30,31,32,36,37,40],{},"Everything begins with randomness. Not the pseudo-randomness of ",[33,34,35],"code",{},"Math.random()"," or ",[33,38,39],{},"std::rand()",", but true cryptographic randomness—numbers that are fundamentally unpredictable.",[42,43,45],"h3",{"id":44},"why-randomness-matters","Why Randomness Matters",[19,47,48],{},"If an attacker can predict your random numbers, they can predict your keys. If they can predict your keys, they own your account. The stakes couldn't be higher.",[50,51,56],"pre",{"className":52,"code":54,"language":55},[53],"language-text","\u002F\u002F ❌ WRONG - Predictable and insecure\nvoid generateWeakKey() {\n    std::srand(std::time(nullptr));  \u002F\u002F Predictable seed!\n    std::uint8_t buf[32];\n    for (auto& byte : buf)\n        byte = std::rand() % 256;  \u002F\u002F NOT cryptographically secure\n}\n\n\u002F\u002F ✅ CORRECT - Cryptographically secure\nSecretKey generateStrongKey() {\n    std::uint8_t buf[32];\n    beast::rngfill(buf, sizeof(buf), crypto_prng());  \u002F\u002F CSPRNG\n    SecretKey sk{Slice{buf, sizeof(buf)}};\n    secure_erase(buf, sizeof(buf));  \u002F\u002F Clean up\n    return sk;\n}\n","text",[33,57,54],{"__ignoreMap":58},"",[42,60,62],{"id":61},"the-birth-of-a-secret-key","The Birth of a Secret Key",[19,64,65,66,69,70,73],{},"In rippled, randomness comes from the ",[33,67,68],{},"crypto_prng()"," function, which wraps OpenSSL's ",[33,71,72],{},"RAND_bytes",":",[50,75,78],{"className":76,"code":77,"language":55},[53],"\u002F\u002F From src\u002Flibxrpl\u002Fprotocol\u002FSecretKey.cpp\nSecretKey randomSecretKey()\n{\n    std::uint8_t buf[32];\n    beast::rngfill(buf, sizeof(buf), crypto_prng());\n    SecretKey sk(Slice{buf, sizeof(buf)});\n    secure_erase(buf, sizeof(buf));\n    return sk;\n}\n",[33,79,77],{"__ignoreMap":58},[19,81,82],{},[83,84,85],"strong",{},"What happens here:",[87,88,89,96,105,115],"ol",{},[90,91,92,95],"li",{},[83,93,94],{},"Allocate buffer",": A 32-byte buffer is created on the stack",[90,97,98,101,102,104],{},[83,99,100],{},"Fill with randomness",": ",[33,103,68],{}," fills it with cryptographically secure random bytes from OpenSSL",[90,106,107,110,111,114],{},[83,108,109],{},"Create SecretKey",": The buffer is wrapped in a ",[33,112,113],{},"SecretKey"," object",[90,116,117,120],{},[83,118,119],{},"Secure cleanup",": The temporary buffer is securely erased to prevent key material from lingering in memory",[42,122,124],{"id":123},"where-randomness-comes-from","Where Randomness Comes From",[19,126,127,128,130],{},"When you call ",[33,129,68],{},", OpenSSL pulls entropy from multiple sources:",[50,132,135],{"className":133,"code":134,"language":55},[53],"┌─────────────────────────────────────────┐\n│     OpenSSL Entropy Pool                │\n└─────────────────────────────────────────┘\n           ↑           ↑           ↑\n           │           │           │\n    ┌──────┴────┐ ┌───┴────┐ ┌────┴──────┐\n    │  Hardware │ │  OS    │ │  Timing   │\n    │   RNG     │ │Entropy │ │  Jitter   │\n    └───────────┘ └────────┘ └───────────┘\n\nHardware RNG:\n- CPU instructions (RDRAND, RDSEED on x86)\n- True random number generators\n\nOS Entropy:\n- \u002Fdev\u002Furandom (Unix\u002FLinux)\n- CryptGenRandom (Windows)\n- System events, disk I\u002FO, network timing\n\nTiming Jitter:\n- High-resolution timers\n- Thread scheduling randomness\n- Cache timing variations\n",[33,136,134],{"__ignoreMap":58},[19,138,139],{},"This multi-source approach ensures that even if one entropy source is weak, others provide backup security.",[14,141,143],{"id":142},"growth-from-secret-to-public","Growth: From Secret to Public",[19,145,146],{},"With a secret key in hand, we need to derive its public key—the identity we can share with the world. This derivation is one of the beautiful ideas in modern cryptography: a mathematical function that's easy to compute in one direction but effectively impossible to reverse.",[42,148,150],{"id":149},"the-one-way-function","The One-Way Function",[50,152,155],{"className":153,"code":154,"language":55},[53],"\u002F\u002F Easy direction: secret → public (microseconds)\nPublicKey publicKey = derivePublicKey(KeyType::ed25519, secretKey);\n\n\u002F\u002F Impossible direction: public → secret (longer than age of universe)\n\u002F\u002F There is NO function: secretKey = deriveSecretKey(publicKey);\n",[33,156,154],{"__ignoreMap":58},[19,158,159],{},"This asymmetry is what makes public-key cryptography possible.",[42,161,163],{"id":162},"two-algorithms-two-approaches","Two Algorithms, Two Approaches",[19,165,166],{},"XRPL supports two cryptographic algorithms, each with its own derivation process:",[19,168,169],{},[83,170,171],{},"secp256k1: Elliptic Curve Point Multiplication",[50,173,176],{"className":174,"code":175,"language":55},[53],"\u002F\u002F From src\u002Flibxrpl\u002Fprotocol\u002FSecretKey.cpp\ncase KeyType::secp256k1: {\n    secp256k1_pubkey pubkey_imp;\n\n    \u002F\u002F Multiply the generator point G by the secret key\n    secp256k1_ec_pubkey_create(\n        secp256k1Context(),\n        &pubkey_imp,\n        reinterpret_cast\u003Cunsigned char const*>(sk.data()));\n\n    \u002F\u002F Serialize to compressed format (33 bytes)\n    unsigned char pubkey[33];\n    std::size_t len = sizeof(pubkey);\n    secp256k1_ec_pubkey_serialize(\n        secp256k1Context(),\n        pubkey,\n        &len,\n        &pubkey_imp,\n        SECP256K1_EC_COMPRESSED);  \u002F\u002F Compressed format\n\n    return PublicKey{Slice{pubkey, len}};\n}\n",[33,177,175],{"__ignoreMap":58},[19,179,180],{},[83,181,182],{},"How it works:",[184,185,186,189,192,195],"ul",{},[90,187,188],{},"Elliptic curve has a special \"generator\" point G",[90,190,191],{},"Public key = Secret key × G (point multiplication on the curve)",[90,193,194],{},"Result is a point with X and Y coordinates",[90,196,197,198],{},"Compressed format stores X coordinate + one bit for Y (33 bytes total)\n",[184,199,200,203],{},[90,201,202],{},"Prefix byte: 0x02 or 0x03 (indicates Y parity)",[90,204,205],{},"X coordinate: 32 bytes",[19,207,208],{},[83,209,210],{},"Why it's secure:",[184,212,213,220,230],{},[90,214,215,216,219],{},"Computing ",[33,217,218],{},"Public = Secret × G"," is fast",[90,221,215,222,225,226,229],{},[33,223,224],{},"Secret"," from ",[33,227,228],{},"Public"," requires solving the discrete logarithm problem",[90,231,232],{},"No known efficient algorithm exists for this problem",[19,234,235],{},[83,236,237],{},"ed25519: Curve25519 Operations",[50,239,242],{"className":240,"code":241,"language":55},[53],"case KeyType::ed25519: {\n    unsigned char buf[33];\n    buf[0] = 0xED;  \u002F\u002F Type prefix\n    ed25519_publickey(sk.data(), &buf[1]);\n    return PublicKey(Slice{buf, sizeof(buf)});\n}\n",[33,243,241],{"__ignoreMap":58},[19,245,246],{},[83,247,182],{},[184,249,250,253,256,259],{},[90,251,252],{},"Uses Ed25519 curve operations (optimized variant of Curve25519)",[90,254,255],{},"Derives public key through curve arithmetic",[90,257,258],{},"Adds 0xED prefix byte to identify key type",[90,260,261],{},"Total 33 bytes (1 prefix + 32 public key)",[19,263,264],{},[83,265,210],{},[184,267,268,271,274],{},[90,269,270],{},"Based on different curve with different security proofs",[90,272,273],{},"Specifically designed for signing (not encryption)",[90,275,276],{},"More resistant to implementation errors",[42,278,280],{"id":279},"the-beauty-of-one-way-functions","The Beauty of One-Way Functions",[50,282,285],{"className":283,"code":284,"language":55},[53],"Secret Key                Public Key\n(32 random bytes)    →    (33 bytes)\n    KEEP SECRET!           SHARE FREELY!\n         │                      │\n         │                      │\n    ┌────▼────┐           ┌─────▼──────┐\n    │Can sign │           │Can verify  │\n    │messages │           │signatures  │\n    └─────────┘           └────────────┘\n         │                      │\n         │                      │\n    ┌────▼─────────────────────▼────┐\n    │   Both needed to prove        │\n    │   authorization                │\n    └──────────────────────────────┘\n",[33,286,284],{"__ignoreMap":58},[19,288,289],{},"The public key can be:",[184,291,292,295,298,301],{},[90,293,294],{},"Posted on websites",[90,296,297],{},"Included in transactions",[90,299,300],{},"Sent to strangers",[90,302,303],{},"Stored in public databases",[19,305,306],{},"No matter who has it or what they do with it, they can't derive your secret key. Your private identity remains private.",[14,308,310],{"id":309},"alternative-path-deterministic-generation","Alternative Path: Deterministic Generation",[19,312,313],{},"Sometimes we don't want pure randomness. Sometimes we want to be able to recreate the exact same key pair from a remembered or stored value. This is where seed-based deterministic key generation comes in.",[42,315,317],{"id":316},"why-deterministic-keys","Why Deterministic Keys?",[19,319,320],{},[83,321,322],{},"Problem with pure randomness:",[50,324,327],{"className":325,"code":326,"language":55},[53],"Generate Key1 → Secret1, Public1\nGenerate Key2 → Secret2, Public2\nGenerate Key3 → Secret3, Public3\n\nTo backup: Must save Secret1, Secret2, Secret3, ...\n",[33,328,326],{"__ignoreMap":58},[19,330,331],{},[83,332,333],{},"Solution with seeds:",[50,335,338],{"className":336,"code":337,"language":55},[53],"Remember one seed → Can regenerate all keys\n\nSeed → Key1 (ordinal 0)\n    → Key2 (ordinal 1)\n    → Key3 (ordinal 2)\n    → ...\n",[33,339,337],{"__ignoreMap":58},[42,341,343],{"id":342},"how-seeds-work","How Seeds Work",[19,345,346],{},"A seed is a small piece of data—typically 16 bytes—that serves as the \"master secret\" for an entire family of keys:",[50,348,351],{"className":349,"code":350,"language":55},[53],"\u002F\u002F From src\u002Flibxrpl\u002Fprotocol\u002FSecretKey.cpp\nstd::pair\u003CPublicKey, SecretKey>\ngenerateKeyPair(KeyType type, Seed const& seed)\n{\n    switch (type)\n    {\n        case KeyType::secp256k1: {\n            detail::Generator g(seed);\n            return g(0);  \u002F\u002F Generate the 0th key pair\n        }\n        case KeyType::ed25519: {\n            auto const sk = generateSecretKey(type, seed);\n            return {derivePublicKey(type, sk), sk};\n        }\n    }\n}\n",[33,352,350],{"__ignoreMap":58},[19,354,355],{},[83,356,357],{},"For ed25519: Simple and Direct",[50,359,362],{"className":360,"code":361,"language":55},[53],"\u002F\u002F Hash the seed to get the secret key\nSecretKey generateSecretKey(KeyType::ed25519, Seed const& seed)\n{\n    auto const secret = sha512Half_s(makeSlice(seed));  \u002F\u002F Secure hash\n    return SecretKey{secret};\n}\n",[33,363,361],{"__ignoreMap":58},[19,365,366],{},"Simple, deterministic, and secure. Same seed always produces same key.",[19,368,369],{},[83,370,371],{},"For secp256k1: Handling Edge Cases",[50,373,376],{"className":374,"code":375,"language":55},[53],"\u002F\u002F Must ensure result is valid secret key\nSecretKey deriveDeterministicRootKey(Seed const& seed)\n{\n    std::uint32_t ordinal = 0;\n\n    \u002F\u002F Try up to 128 times to find valid key\n    for (int i = 0; i \u003C 128; ++i)\n    {\n        \u002F\u002F Create buffer with seed + ordinal\n        std::array\u003Cstd::uint8_t, 20> buf;\n        std::copy(seed.data(), seed.data() + 16, buf.begin());\n        buf[16] = (ordinal >> 24) & 0xFF;\n        buf[17] = (ordinal >> 16) & 0xFF;\n        buf[18] = (ordinal >>  8) & 0xFF;\n        buf[19] = (ordinal >>  0) & 0xFF;\n\n        \u002F\u002F Hash it\n        auto const secret = sha512Half(makeSlice(buf));\n\n        \u002F\u002F Check if it's a valid secret key\n        if (isValidSecretKey(secret))\n            return SecretKey{secret};\n\n        \u002F\u002F If not valid, try next ordinal\n        ++ordinal;\n    }\n\n    \u002F\u002F Should never happen (probability ~ 1 in 2^128)\n    Throw\u003Cstd::runtime_error>(\"Failed to generate key from seed\");\n}\n",[33,377,375],{"__ignoreMap":58},[19,379,380,383,386],{},[83,381,382],{},"Why the loop?",[384,385],"br",{},"\nNot all 32-byte values are valid secret keys for secp256k1. The value must be less than the curve's \"order\" (a large prime number). If the hash result is too large, increment a counter and try again.",[19,388,389],{},"The odds of needing more than one attempt are vanishingly small (roughly 1 in 2^128), but the code handles it correctly.",[42,391,393],{"id":392},"the-generator-pattern","The Generator Pattern",[19,395,396,397,400],{},"The ",[33,398,399],{},"Generator"," class enables creating multiple independent keys from one seed:",[50,402,405],{"className":403,"code":404,"language":55},[53],"detail::Generator g(seed);\n\nauto [pub0, sec0] = g(0);  \u002F\u002F First key pair\nauto [pub1, sec1] = g(1);  \u002F\u002F Second key pair\nauto [pub2, sec2] = g(2);  \u002F\u002F Third key pair\n",[33,406,404],{"__ignoreMap":58},[19,408,409],{},"Each ordinal produces a cryptographically independent key pair. This enables powerful features like:",[184,411,412,418,424],{},[90,413,414,417],{},[83,415,416],{},"Hierarchical wallets",": One seed, many accounts",[90,419,420,423],{},[83,421,422],{},"Key rotation",": Generate new keys without remembering multiple seeds",[90,425,426,429],{},[83,427,428],{},"Backup simplicity",": One seed backs up everything",[14,431,433],{"id":432},"from-key-to-identity-account-ids","From Key to Identity: Account IDs",[19,435,436],{},"A public key isn't an address. To get the human-readable XRPL address (starting with 'r'), we need one more transformation:",[50,438,441],{"className":439,"code":440,"language":55},[53],"\u002F\u002F From src\u002Flibxrpl\u002Fprotocol\u002FAccountID.cpp\nAccountID calcAccountID(PublicKey const& pk)\n{\n    ripesha_hasher h;\n    h(pk.data(), pk.size());\n    return AccountID{static_cast\u003Cripesha_hasher::result_type>(h)};\n}\n",[33,442,440],{"__ignoreMap":58},[42,444,446],{"id":445},"the-ripesha-double-hash","The RIPESHA Double Hash",[50,448,451],{"className":449,"code":450,"language":55},[53],"Public Key (33 bytes)\n       ↓\n  SHA-256 hash\n       ↓\n  256-bit digest\n       ↓\n  RIPEMD-160 hash\n       ↓\n  160-bit (20 byte) Account ID\n       ↓\n  Base58Check encode with type byte\n       ↓\n  Address: rN7n7otQDd6FczFgLdlqtyMVrn3LNU8B4C\n",[33,452,450],{"__ignoreMap":58},[19,454,455],{},[83,456,457],{},"Why two hash functions?",[87,459,460,466,472],{},[90,461,462,465],{},[83,463,464],{},"Compactness",": 20 bytes instead of 33 bytes",[90,467,468,471],{},[83,469,470],{},"Defense in depth",": If SHA-256 is broken, RIPEMD-160 provides protection; if RIPEMD-160 is broken, SHA-256 does",[90,473,474,477],{},[83,475,476],{},"Compatibility",": Same scheme used by other blockchain systems",[19,479,480],{},[83,481,482],{},"Why hash at all?",[184,484,485,488,491],{},[90,486,487],{},"Shorter addresses are easier to use",[90,489,490],{},"Provides a level of indirection (can't derive public key from address)",[90,492,493],{},"Quantum-resistant: even if quantum computers break elliptic curve crypto, they can't derive the public key from the address alone",[14,495,497],{"id":496},"the-complete-lifecycle","The Complete Lifecycle",[19,499,500],{},"Let's trace a key from birth to address:",[50,502,505],{"className":503,"code":504,"language":55},[53],"\u002F\u002F 1. BIRTH: Generate random secret key\nSecretKey secretKey = randomSecretKey();\n\u002F\u002F Result: 32 random bytes\n\u002F\u002F Example: 0x1a2b3c4d...\n\n\u002F\u002F 2. GROWTH: Derive public key\nPublicKey publicKey = derivePublicKey(KeyType::ed25519, secretKey);\n\u002F\u002F Result: 33 bytes (0xED prefix + 32 bytes)\n\u002F\u002F Example: 0xED9434799226374926EDA3B54B1B461B4ABF7237962EEB1144C10A7CA6A9D32C64\n\n\u002F\u002F 3. IDENTITY: Calculate account ID\nAccountID accountID = calcAccountID(publicKey);\n\u002F\u002F Result: 20 bytes\n\u002F\u002F Example: 0x8B8A6C533F09CA0E5E00E7C32AA7EC323485ED3F\n\n\u002F\u002F 4. PRESENTATION: Encode as address\nstd::string address = toBase58(accountID);\n\u002F\u002F Result: Human-readable address\n\u002F\u002F Example: rN7n7otQDd6FczFgLdlqtyMVrn3LNU8B4C\n",[33,506,504],{"__ignoreMap":58},[19,508,509],{},"Each step is irreversible:",[184,511,512,515,518],{},[90,513,514],{},"Can't derive secret from public",[90,516,517],{},"Can't derive public from account ID",[90,519,520],{},"Can't derive account ID from address (but can decode)",[14,522,524],{"id":523},"lifecycle-management-raii-and-secure-cleanup","Lifecycle Management: RAII and Secure Cleanup",[19,526,396,527,529],{},[33,528,113],{}," class demonstrates proper lifecycle management:",[50,531,534],{"className":532,"code":533,"language":55},[53],"class SecretKey\n{\nprivate:\n    std::uint8_t buf_[32];\n\npublic:\n    SecretKey(Slice const& slice)\n    {\n        std::memcpy(buf_, slice.data(), sizeof(buf_));\n    }\n\n    ~SecretKey()\n    {\n        \u002F\u002F Automatically called when SecretKey goes out of scope\n        secure_erase(buf_, sizeof(buf_));\n    }\n\n    \u002F\u002F Prevent copying to avoid multiple erasures\n    SecretKey(SecretKey const&) = delete;\n    SecretKey& operator=(SecretKey const&) = delete;\n\n    \u002F\u002F Allow moving (transfers ownership)\n    SecretKey(SecretKey&&) noexcept = default;\n    SecretKey& operator=(SecretKey&&) noexcept = default;\n};\n",[33,535,533],{"__ignoreMap":58},[19,537,538],{},[83,539,540],{},"RAII (Resource Acquisition Is Initialization):",[184,542,543,546,549,552],{},[90,544,545],{},"Constructor acquires resource (the secret key)",[90,547,548],{},"Destructor releases resource (securely erases key)",[90,550,551],{},"No manual cleanup needed",[90,553,554],{},"Automatic cleanup even if exceptions occur",[19,556,557],{},[83,558,559],{},"Usage pattern:",[50,561,564],{"className":562,"code":563,"language":55},[53],"void signTransaction(Transaction const& tx)\n{\n    SecretKey sk = loadKeyFromSecureStorage();\n\n    auto signature = sign(pk, sk, tx);\n\n    \u002F\u002F sk destructor automatically called here\n    \u002F\u002F Key material is securely erased\n}\n",[33,565,563],{"__ignoreMap":58},[19,567,568,569,572],{},"Even if ",[33,570,571],{},"sign()"," throws an exception, the destructor still runs and the key is erased. This is defensive programming—making it impossible to forget cleanup.",[14,574,576],{"id":575},"key-type-detection","Key Type Detection",[19,578,579],{},"How does rippled know which algorithm a key uses? The first byte:",[50,581,584],{"className":582,"code":583,"language":55},[53],"std::optional\u003CKeyType> publicKeyType(Slice const& slice)\n{\n    if (slice.size() != 33)\n        return std::nullopt;\n\n    switch (slice[0])\n    {\n        case 0x02:\n        case 0x03:\n            return KeyType::secp256k1;\n        case 0xED:\n            return KeyType::ed25519;\n        default:\n            return std::nullopt;\n    }\n}\n",[33,585,583],{"__ignoreMap":58},[19,587,588],{},"This automatic detection means higher-level code doesn't need to track key types—the keys themselves carry the information.",[50,590,593],{"className":591,"code":592,"language":55},[53],"secp256k1 public key: 0x02[32 bytes] or 0x03[32 bytes]\ned25519 public key:   0xED[32 bytes]\n",[33,594,592],{"__ignoreMap":58},[14,596,598],{"id":597},"summary-the-key-lifecycle","Summary: The Key Lifecycle",[50,600,603],{"className":601,"code":602,"language":55},[53],"BIRTH\n  │\n  ├─ Random: crypto_prng() → 32 random bytes\n  │\n  └─ Deterministic: hash(seed) → 32 bytes\n       │\n       ▼\n   SECRET KEY (32 bytes)\n       │\n       │ One-way function\n       │\n       ▼\n   PUBLIC KEY (33 bytes)\n       │\n       │ Double hash\n       │\n       ▼\n   ACCOUNT ID (20 bytes)\n       │\n       │ Base58Check encode\n       │\n       ▼\n   ADDRESS (human-readable)\n       │\n       ▼\n   SECURE CLEANUP\n     (key erased from memory)\n",[33,604,602],{"__ignoreMap":58},[14,606,608],{"id":607},"key-takeaways","Key Takeaways",[87,610,611,617,623,629,635,641],{},[90,612,613,616],{},[83,614,615],{},"Randomness is critical",": Weak randomness = weak keys = stolen funds",[90,618,619,622],{},[83,620,621],{},"One-way functions enable public-key crypto",": Easy to derive public from secret, impossible to reverse",[90,624,625,628],{},[83,626,627],{},"Two algorithms, same security guarantees",": secp256k1 for compatibility, ed25519 for performance",[90,630,631,634],{},[83,632,633],{},"Deterministic generation enables backups",": One seed can recover many keys",[90,636,637,640],{},[83,638,639],{},"Secure cleanup prevents leaks",": Keys must be erased from memory when no longer needed",[90,642,643,646],{},[83,644,645],{},"RAII makes security automatic",": Proper C++ patterns prevent human error",[19,648,649],{},"In the next chapter, we'll see how these keys are used to create and verify signatures—the mathematical proof of authorization that makes XRPL secure.",{"title":58,"searchDepth":651,"depth":651,"links":652},2,[653,654,660,665,670,673,674,675,676,677],{"id":16,"depth":651,"text":17},{"id":27,"depth":651,"text":28,"children":655},[656,658,659],{"id":44,"depth":657,"text":45},3,{"id":61,"depth":657,"text":62},{"id":123,"depth":657,"text":124},{"id":142,"depth":651,"text":143,"children":661},[662,663,664],{"id":149,"depth":657,"text":150},{"id":162,"depth":657,"text":163},{"id":279,"depth":657,"text":280},{"id":309,"depth":651,"text":310,"children":666},[667,668,669],{"id":316,"depth":657,"text":317},{"id":342,"depth":657,"text":343},{"id":392,"depth":657,"text":393},{"id":432,"depth":651,"text":433,"children":671},[672],{"id":445,"depth":657,"text":446},{"id":496,"depth":651,"text":497},{"id":523,"depth":651,"text":524},{"id":575,"depth":651,"text":576},{"id":597,"depth":651,"text":598},{"id":607,"depth":651,"text":608},"md",{},true,"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key",{"title":5,"description":21},"xrpl-trainings\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key.md","docs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-lifecycle-of-a-cryptographic-key","9ad2RLppgRO3d9jAAgkxMamPyVtevoFNK77p8VY9JWw",[],[688,730,745,766,790,1182],{"title":689,"path":690,"children":691,"description":728,"pages":729},"XRPL Basics","\u002Fdocs\u002Fxrpl-basics",[692,695,698,701,704,707,710,713,716,719,722,725],{"title":693,"path":694},"Getting Started","\u002Fdocs\u002Fxrpl-basics\u002Fgetting-started",{"title":696,"path":697},"Trustline","\u002Fdocs\u002Fxrpl-basics\u002Ftrustline",{"title":699,"path":700},"Payments","\u002Fdocs\u002Fxrpl-basics\u002Fpayments",{"title":702,"path":703},"Reading and subscribing to Transactions","\u002Fdocs\u002Fxrpl-basics\u002Freading-and-writing-memos",{"title":705,"path":706},"Writing and reading memos","\u002Fdocs\u002Fxrpl-basics\u002Fwriting-and-reading-memos",{"title":708,"path":709},"Non Fungible Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fnon-fungible-tokens",{"title":711,"path":712},"Multi-Purpose Tokens","\u002Fdocs\u002Fxrpl-basics\u002Fmptoken",{"title":714,"path":715},"PathFinding","\u002Fdocs\u002Fxrpl-basics\u002Fpath-finding",{"title":717,"path":718},"Escrow","\u002Fdocs\u002Fxrpl-basics\u002Fescrow",{"title":720,"path":721},"Price Oracles","\u002Fdocs\u002Fxrpl-basics\u002Fprice-oracles",{"title":723,"path":724},"Tickets","\u002Fdocs\u002Fxrpl-basics\u002Ftickets",{"title":726,"path":727},"Multi-Signature","\u002Fdocs\u002Fxrpl-basics\u002Fmulti-signature","In this section we will cover some of the primary functionality of the XRPL ledger.",13,{"title":731,"path":732,"children":733,"description":743,"pages":744},"Token Issuance and Liquidity","\u002Fdocs\u002Ftoken-issuance-and-liquidity",[734,737,740],{"title":735,"path":736},"Creating Accounts and Setup","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fcreating-accounts",{"title":738,"path":739},"Issuing Tokens","\u002Fdocs\u002Ftoken-issuance-and-liquidity\u002Fissuing-tokens",{"title":741,"path":742},"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":746,"path":747,"children":748,"description":764,"pages":765},"Cyphered Chat on XRPL","\u002Fdocs\u002Fcyphered-chat-on-xrpl",[749,752,755,758,761],{"title":750,"path":751},"Set up","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up",{"title":753,"path":754},"Set up Keys","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-keys",{"title":756,"path":757},"Cypher the message","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fcypher-the-message",{"title":759,"path":760},"Set up the memo & send the tx","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fset-up-the-memo-and-send-the-tx",{"title":762,"path":763},"Get the message and decypher it","\u002Fdocs\u002Fcyphered-chat-on-xrpl\u002Fget-the-message-and-decypher-it","Send encrypted messages over XRPL",6,{"title":767,"path":768,"children":769,"description":788,"pages":789},"EVM Sidechain","\u002Fdocs\u002Fevm-sidechain",[770,773,776,779,782,785],{"title":771,"path":772},"Connecting Metamask","\u002Fdocs\u002Fevm-sidechain\u002Fconnecting-metamask",{"title":774,"path":775},"Set up a Foundry project","\u002Fdocs\u002Fevm-sidechain\u002Fset-up-an-evm-project",{"title":777,"path":778},"Bridging Assets","\u002Fdocs\u002Fevm-sidechain\u002Fbridging-assets",{"title":780,"path":781},"Remix","\u002Fdocs\u002Fevm-sidechain\u002Fremix",{"title":783,"path":784},"Banking App","\u002Fdocs\u002Fevm-sidechain\u002Fbanking-app",{"title":786,"path":787},"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":791,"path":792,"children":793,"description":1180,"pages":1181},"Core Dev Bootcamp","\u002Fdocs\u002Fcore-dev-bootcamp",[794,814,857,907,938,993,1024,1040,1080,1114,1139,1155],{"title":795,"path":796,"children":797},"Rippled I – Compilation, Configuration, and Launch","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01",[798,801,804,807],{"title":799,"path":800},"Environment & Build Toolchain","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fenvironment-build-toolchain",{"title":802,"path":803},"Compilation Process & Generating Binary","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fcompilation-process-generating-binary",{"title":805,"path":806},"Local Development & Testing","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Flocal-development-testing",{"title":808,"path":809,"children":810},"Homeworks","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks",[811],{"title":812,"path":813},"Homework 1: Rippled Node Setup and Mainnet Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule01\u002Fhomeworks\u002Fhomework1",{"title":815,"path":816,"children":817},"Rippled II: Deep Dive into the Protocol and Codebase","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02",[818,821,824,827,830,833,836,839,842],{"title":819,"path":820},"Protocols: Communication and Interoperability","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fprotocols-communication-and-interoperability",{"title":822,"path":823},"Transactors: Transaction Processing Framework","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransactors-transaction-processing-framework",{"title":825,"path":826},"Application Layer: Central Orchestration and Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fapplication-layer-central-orchestration-and-coordination",{"title":828,"path":829},"Consensus Engine: XRP Ledger Consensus Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fconsensus-engine-xrp-ledger-consensus-protocol",{"title":831,"path":832},"Overlay Network: Peer-to-Peer Networking Layer","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Foverlay-network-peer-to-peer-networking-layer",{"title":834,"path":835},"Transaction Lifecycle: Complete Transaction Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Ftransaction-lifecycle-complete-transaction-journey",{"title":837,"path":838},"Codebase Navigation: Efficiently Navigating the Rippled Source","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fcodebase-navigation-efficiently-navigating-the-rippled-source",{"title":840,"path":841},"Debugging Tools: Development and Debugging Techniques","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fdebugging-tools-development-and-debugging-techniques",{"title":808,"path":843,"children":844},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks",[845,848,851,854],{"title":846,"path":847},"Homework 1: Transaction Flow Analysis","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework1",{"title":849,"path":850},"Homework 2: Transactor Code Exploration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework2",{"title":852,"path":853},"Homework 3: Logging and Debugging","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework3",{"title":855,"path":856},"Homework 4: Architecture Diagram","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule02\u002Fhomeworks\u002Fhomework4",{"title":858,"path":859,"children":860},"Anatomy of Rippled: SHAMap and NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03",[861,864,867,870,873,876,879,882,885,888,891,894],{"title":862,"path":863},"Foundational Concepts","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstate-management-challenges",{"title":865,"path":866},"Trees, Hashing, and Cryptographic Commitments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Ftree-fundamentals",{"title":868,"path":869},"SHAMap Architecture and Node Hierarchy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-architecture",{"title":871,"path":872},"Navigation, Hashing, and Merkle Properties","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-navigation-hashing",{"title":874,"path":875},"Traversal, Iteration, and Synchronization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fshamap-synchronization",{"title":877,"path":878},"The NodeStore","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fnodestore-architecture",{"title":880,"path":881},"Storage Abstraction and Backend Implementations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fstorage-backends",{"title":883,"path":884},"Cache Layer and Performance Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fcache-layer",{"title":886,"path":887},"Database Operations and Lifecycle Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fdatabase-operations",{"title":889,"path":890},"Cryptographic Proofs and State Reconstruction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fproofs-state-reconstruction",{"title":892,"path":893},"Resource Management and Performance Characteristics","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fresource-management",{"title":895,"path":896,"children":897},"Appendices","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices",[898,901,904],{"title":899,"path":900},"Appendix : Codebase Navigation Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fnavigation",{"title":902,"path":903},"Appendix : Configuration Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fconfiguration",{"title":905,"path":906},"Appendix : Debugging and Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03\u002Fappendices\u002Fdebugging",{"title":908,"path":909,"children":910},"Transactors: Understanding the Lifecycle of a Transaction","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis",[911,914,917,920,923,926,929,932,935],{"title":912,"path":913},"Transactor Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ftransactor-architecture",{"title":915,"path":916},"Processing Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fprocessing-pipeline",{"title":918,"path":919},"Fee and Sequence Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Ffee-sequence-handling",{"title":921,"path":922},"State Modification Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fstate-modification",{"title":924,"path":925},"TER Result Codes","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fter-result-codes",{"title":927,"path":928},"Case Study: CheckCreate Transactor","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fcase-study-checkcreate",{"title":930,"path":931},"Homework 1: Trace a Transaction Through All Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework1",{"title":933,"path":934},"Homework 2: Implement a Custom Validation Check","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework2",{"title":936,"path":937},"Homework 3: Analyze TER Code Paths","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule03bis\u002Fhomeworks\u002Fhomework3",{"title":939,"path":940,"children":941},"Cryptography I: Blockchain Security and Cryptographic Foundations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04",[942,945,946,949,952,955,958,961,964,967,970,973,976,987],{"title":943,"path":944},"The Four Pillars of Security","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fthe-four-pillars-of-security",{"title":5,"path":681},{"title":947,"path":948},"Random Number Generation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation",{"title":950,"path":951},"Random Number Generation & Entropy","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Frandom-number-generation-and-entropy",{"title":953,"path":954},"Key Generation Pipeline","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fkey-generation-pipeline",{"title":956,"path":957},"Transaction Signing & Verification","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Ftransaction-signing-and-verification",{"title":959,"path":960},"Hash Functions in XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhash-functions-in-xrpl",{"title":962,"path":963},"Base58Check Encoding","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fbase58check-encoding",{"title":965,"path":966},"Peer Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fpeer-handshake-protocol",{"title":968,"path":969},"Secure Memory Handling","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fsecure-memory-handling",{"title":971,"path":972},"Common Cryptographic Pitfalls","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fcommon-cryptographic-pitfalls",{"title":974,"path":975},"Performance & Optimization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fperformance-and-optimization",{"title":895,"path":977,"children":978},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices",[979,981,984],{"title":899,"path":980},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fcodebase-navigation-guide",{"title":982,"path":983},"Appendix : Debugging & Development Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Fdebugging-and-development-tools",{"title":985,"path":986},"Appendix : RFCs and Standards Reference","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fappendices\u002Frfcs-and-standards-reference",{"title":808,"path":988,"children":989},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks",[990],{"title":991,"path":992},"Homework 1: Signature Verification Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule04\u002Fhomeworks\u002Fhomework1",{"title":994,"path":995,"children":996},"Cryptography II: Protocol Extensions and Quantum Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05",[997,1000,1003,1006,1009,1012,1018],{"title":998,"path":999},"Overlay Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Foverlay-architecture",{"title":1001,"path":1002},"Connection Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fconnection-lifecycle",{"title":1004,"path":1005},"Handshake Protocol","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhandshake-protocol",{"title":1007,"path":1008},"Message Relaying","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fmessage-relaying",{"title":1010,"path":1011},"Peer Discovery","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fpeer-discovery",{"title":895,"path":1013,"children":1014},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices",[1015],{"title":1016,"path":1017},"XLS-??d Quantum-Resistant Signatures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fappendices\u002Fxls-d",{"title":808,"path":1019,"children":1020},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks",[1021],{"title":1022,"path":1023},"Homework 1: Building Quantum-Resistant Signatures for XRPL","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule05\u002Fhomeworks\u002Fhomework1",{"title":1025,"path":1026,"children":1027},"Communication I: Understanding XRPL(d) RPC Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06",[1028,1031,1034,1037],{"title":1029,"path":1030},"RPC Handler Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frpc-handler-architecture",{"title":1032,"path":1033},"Request and Response Flow","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Frequest-response-flow",{"title":1035,"path":1036},"Authentication and Authorization","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Fauthentication-authorization",{"title":1038,"path":1039},"Error Handling and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule06\u002Ferror-handling-validation",{"title":1041,"path":1042,"children":1043},"Communication II: Building and Integrating Custom RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07",[1044,1047,1050,1053,1056,1068],{"title":1045,"path":1046},"Implementing Custom Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fimplementing-custom-handlers",{"title":1048,"path":1049},"Testing RPC Handlers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Ftesting-rpc-handlers",{"title":1051,"path":1052},"Advanced Features","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fadvanced-features",{"title":1054,"path":1055},"Best Practices and Patterns","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fbest-practices-patterns",{"title":895,"path":1057,"children":1058},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices",[1059,1062,1065],{"title":1060,"path":1061},"Appendix: Handler Examples","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhandler-examples",{"title":1063,"path":1064},"Appendix: Helper Functions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fhelper-functions",{"title":1066,"path":1067},"Appendix: Debugging Guide","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fappendices\u002Fdebugging-guide",{"title":808,"path":1069,"children":1070},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks",[1071,1074,1077],{"title":1072,"path":1073},"Homework 1: Building a Custom RPC Handler","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhomework1",{"title":1075,"path":1076},"Hints","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fhints",{"title":1078,"path":1079},"Snippets","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule07\u002Fhomeworks\u002Fsnippets",{"title":1081,"path":1082,"children":1083},"Consensus I: Node, Consensus, and Ledger Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08",[1084,1087,1090,1093,1096,1099,1102,1105],{"title":1085,"path":1086},"Consensus Fundamentals","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-fundamentals",{"title":1088,"path":1089},"Consensus Modes and Phases","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-modes-phases",{"title":1091,"path":1092},"Consensus Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fconsensus-lifecycle",{"title":1094,"path":1095},"Ledger Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-architecture",{"title":1097,"path":1098},"Ledger Data Structures","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-data-structures",{"title":1100,"path":1101},"Ledger Acquisition and Validation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fledger-acquisition-validation",{"title":1103,"path":1104},"RPC and Peer Transaction Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Frpc-peer-tx-lifecycle",{"title":808,"path":1106,"children":1107},"\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks",[1108,1111],{"title":1109,"path":1110},"Homework 1: Transaction Consensus Journey","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework1",{"title":1112,"path":1113},"Homework 2: Consensus Dispute Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule08\u002Fhomeworks\u002Fhomework2",{"title":1115,"path":1116,"children":1117},"Consensus II: UNLs and Ledger Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09",[1118,1121,1124,1127,1130,1133,1136],{"title":1119,"path":1120},"Transaction Ordering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Ftx-ordering",{"title":1122,"path":1123},"Consensus Validations","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-validations",{"title":1125,"path":1126},"Amendments","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Famendments",{"title":1128,"path":1129},"UNL Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Funl",{"title":1131,"path":1132},"Consensus Peers","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fconsensus-peers",{"title":1134,"path":1135},"Homework 1: Validator Keys Setup and Management","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework1",{"title":1137,"path":1138},"Homework 2: Negative UNL Engineering","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09\u002Fhomeworks\u002Fhomework2",{"title":1140,"path":1141,"children":1142},"AMM: Automated Market Maker","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis",[1143,1146,1149,1152],{"title":1144,"path":1145},"AMM Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-architecture",{"title":1147,"path":1148},"AMM Transactions","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-transactions",{"title":1150,"path":1151},"AMM Logic","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-logic",{"title":1153,"path":1154},"Pathfinding Integration","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule09bis\u002Famm-pathfinding",{"title":1156,"path":1157,"children":1158},"Building Amendments: Lifecycle and Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10",[1159,1162,1165,1168,1171,1174,1177],{"title":1160,"path":1161},"Amendment Architecture","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-architecture",{"title":1163,"path":1164},"Amendment Lifecycle","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-lifecycle",{"title":1166,"path":1167},"Voting and Activation","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fvoting-and-activation",{"title":1169,"path":1170},"Core Protocol Impact","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fprotocol-impact",{"title":1172,"path":1173},"Network Coordination","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Fnetwork-coordination",{"title":1175,"path":1176},"Monitoring and Tools","\u002Fdocs\u002Fcore-dev-bootcamp\u002Fmodule10\u002Famendment-monitoring",{"title":1178,"path":1179},"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":1183,"path":1184,"children":1185,"description":1192,"pages":657},"Tools","\u002Fdocs\u002Ftools",[1186,1189],{"title":1187,"path":1188},"Xaman Setup","\u002Fdocs\u002Ftools\u002Fxaman-setup",{"title":1190,"path":1191},"Metamask Setup","\u002Fdocs\u002Ftools\u002Fmetamask-setup","In this section you will find instructions on how to setup wallets and tools",1796220772613]