[{"data":1,"prerenderedAt":1487},["ShallowReactive",2],{"navigation":3,"page-en-\u002Fguides\u002Fcardano-cli-keys":160,"surround-en-\u002Fguides\u002Fcardano-cli-keys":1482},[4,28,65,99,130,151],{"title":5,"path":6,"stem":7,"children":8,"icon":27},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12,17,22],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Quick Start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start","i-lucide-rocket",{"title":23,"path":24,"stem":25,"icon":26},"Configuration","\u002Fgetting-started\u002Fconfiguration","1.getting-started\u002F4.configuration","i-lucide-settings-2",false,{"title":29,"path":30,"stem":31,"children":32,"icon":34},"Guides","\u002Fguides","2.guides\u002F1.index",[33,35,40,45,50,55,60],{"title":29,"path":30,"stem":31,"icon":34},"i-lucide-book-open",{"title":36,"path":37,"stem":38,"icon":39},"Build a Wallet App","\u002Fguides\u002Fbuild-wallet-app","2.guides\u002F2.build-wallet-app","i-lucide-wallet",{"title":41,"path":42,"stem":43,"icon":44},"Building Transactions","\u002Fguides\u002Ftransactions","2.guides\u002F3.transactions","i-lucide-file-signature",{"title":46,"path":47,"stem":48,"icon":49},"Mint and Burn Tokens Guide","\u002Fguides\u002Fmint-burn-tokens","2.guides\u002F4.mint-burn-tokens","i-lucide-coins",{"title":51,"path":52,"stem":53,"icon":54},"Hydra Integration Examples","\u002Fguides\u002Fhydra-integration","2.guides\u002F5.hydra-integration","i-lucide-network",{"title":56,"path":57,"stem":58,"icon":59},"Utilities Cookbook","\u002Fguides\u002Futilities-cookbook","2.guides\u002F6.utilities-cookbook","i-lucide-wrench",{"title":61,"path":62,"stem":63,"icon":64},"Integrate from Cardano-CLI","\u002Fguides\u002Fcardano-cli-keys","2.guides\u002F7.cardano-cli-keys","i-lucide-key-round",{"title":66,"path":67,"stem":68,"children":69,"icon":98},"Concepts","\u002Fconcepts","3.concepts\u002F1.index",[70,73,78,83,88,93],{"title":71,"path":67,"stem":68,"icon":72},"Why Hydra?","i-lucide-circle-help",{"title":74,"path":75,"stem":76,"icon":77},"Commit to Hydra","\u002Fconcepts\u002Fcommit-to-hydra","3.concepts\u002F2.commit-to-hydra","i-lucide-arrow-down-to-line",{"title":79,"path":80,"stem":81,"icon":82},"Decommit from Hydra","\u002Fconcepts\u002Fdecommit-from-hydra","3.concepts\u002F3.decommit-from-hydra","i-lucide-arrow-up-from-line",{"title":84,"path":85,"stem":86,"icon":87},"Transactions in Hydra","\u002Fconcepts\u002Ftransactions-in-hydra","3.concepts\u002F4.transactions-in-hydra","i-lucide-arrow-left-right",{"title":89,"path":90,"stem":91,"icon":92},"Smart Contracts in Hydra","\u002Fconcepts\u002Fsmart-contracts-in-hydra","3.concepts\u002F5.smart-contracts-in-hydra","i-lucide-file-code-2",{"title":94,"path":95,"stem":96,"icon":97},"Hydra Protocol Versions","\u002Fconcepts\u002Fhydra-v2-changes","3.concepts\u002F6.hydra-v2-changes","i-lucide-git-compare","i-lucide-lightbulb",{"title":100,"path":101,"stem":102,"children":103,"icon":129},"API Reference","\u002Fapi","4.api\u002F1.index",[104,106,111,116,120,125],{"title":100,"path":101,"stem":102,"icon":105},"i-lucide-book-marked",{"title":107,"path":108,"stem":109,"icon":110},"@hydra-sdk\u002Fcore","\u002Fapi\u002Fcore","4.api\u002F2.core","i-lucide-box",{"title":112,"path":113,"stem":114,"icon":115},"@hydra-sdk\u002Fbridge","\u002Fapi\u002Fbridge","4.api\u002F3.bridge","i-lucide-cable",{"title":117,"path":118,"stem":119,"icon":44},"@hydra-sdk\u002Ftransaction","\u002Fapi\u002Ftransaction","4.api\u002F4.transaction",{"title":121,"path":122,"stem":123,"icon":124},"@hydra-sdk\u002Fcardano-wasm","\u002Fapi\u002Fcardano-wasm","4.api\u002F5.cardano-wasm","i-lucide-cpu",{"title":126,"path":127,"stem":128,"icon":59},"@hydra-sdk\u002Fcore - Utilities","\u002Fapi\u002Futilities","4.api\u002F6.utilities","i-lucide-braces",{"title":131,"icon":132,"path":133,"stem":134,"children":135,"page":27},"Resources","i-lucide-archive","\u002Fresources","5.resources",[136,141,146],{"title":137,"path":138,"stem":139,"icon":140},"Change Logs","\u002Fresources\u002Fchangelog","5.resources\u002F1.changelog","i-lucide-history",{"title":142,"path":143,"stem":144,"icon":145},"Migration","\u002Fresources\u002Fmigration","5.resources\u002F2.migration","i-lucide-arrow-right-left",{"title":147,"path":148,"stem":149,"icon":150},"Performance & Comparison","\u002Fresources\u002Fperformance","5.resources\u002F3.performance","i-lucide-gauge",{"title":152,"path":153,"stem":154,"children":155,"icon":159},"AI","\u002Fai","6.ai\u002F1.index",[156],{"title":157,"path":153,"stem":154,"icon":158},"Use with AI","i-lucide-bot","i-lucide-sparkles",{"id":161,"title":61,"body":162,"description":1475,"extension":1476,"links":1477,"meta":1478,"navigation":1479,"path":62,"seo":1480,"stem":63,"__hash__":1481},"docs_en\u002F2.guides\u002F7.cardano-cli-keys.md",{"type":163,"value":164,"toc":1460},"minimark",[165,174,188,193,196,245,248,256,341,349,417,430,434,437,481,491,499,515,519,524,764,768,1159,1162,1166,1181,1186,1232,1236,1359,1363,1411,1415,1434,1438,1456],[166,167,168,169,173],"p",{},"Learn how to use keys generated from Cardano-CLI with Hydra SDK. The ",[170,171,172],"code",{},"CardanoCliWallet"," class allows you to use existing CLI keys in your Node.js applications for programmatic transaction signing and blockchain interactions.",[166,175,176,180,181],{},[177,178,179],"strong",{},"Reference",": ",[182,183,187],"a",{"href":184,"rel":185},"https:\u002F\u002Fdevelopers.cardano.org\u002Fdocs\u002Fget-started\u002Fcardano-cli\u002Fbasic-operations\u002Fget-started",[186],"nofollow","Cardano-CLI Documentation",[189,190,192],"h2",{"id":191},"generate-keys-with-cardano-cli","Generate Keys with Cardano-CLI",[166,194,195],{},"Generate a payment key pair using Cardano-CLI:",[197,198,203],"pre",{"className":199,"code":200,"language":201,"meta":202,"style":202},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","cardano-cli address key-gen \\\n  --verification-key-file payment.vkey \\\n  --signing-key-file payment.skey\n","bash","",[170,204,205,225,236],{"__ignoreMap":202},[206,207,210,214,218,221],"span",{"class":208,"line":209},"line",1,[206,211,213],{"class":212},"sBMFI","cardano-cli",[206,215,217],{"class":216},"sfazB"," address",[206,219,220],{"class":216}," key-gen",[206,222,224],{"class":223},"sTEyZ"," \\\n",[206,226,228,231,234],{"class":208,"line":227},2,[206,229,230],{"class":216},"  --verification-key-file",[206,232,233],{"class":216}," payment.vkey",[206,235,224],{"class":223},[206,237,239,242],{"class":208,"line":238},3,[206,240,241],{"class":216},"  --signing-key-file",[206,243,244],{"class":216}," payment.skey\n",[166,246,247],{},"This will create two files:",[166,249,250,255],{},[177,251,252],{},[170,253,254],{},"payment.vkey"," (Verification Key):",[197,257,261],{"className":258,"code":259,"language":260,"meta":202,"style":202},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n    \"type\": \"PaymentVerificationKeyShelley_ed25519\",\n    \"description\": \"Payment Verification Key\",\n    \"cborHex\": \"5820832ba166c8ba8afda5b9d85dfe13dd8fffd460da79a2c3cf34e107216637985b\"\n}\n","json",[170,262,263,269,295,315,335],{"__ignoreMap":202},[206,264,265],{"class":208,"line":209},[206,266,268],{"class":267},"sMK4o","{\n",[206,270,271,274,278,281,284,287,290,292],{"class":208,"line":227},[206,272,273],{"class":267},"    \"",[206,275,277],{"class":276},"spNyl","type",[206,279,280],{"class":267},"\"",[206,282,283],{"class":267},":",[206,285,286],{"class":267}," \"",[206,288,289],{"class":216},"PaymentVerificationKeyShelley_ed25519",[206,291,280],{"class":267},[206,293,294],{"class":267},",\n",[206,296,297,299,302,304,306,308,311,313],{"class":208,"line":238},[206,298,273],{"class":267},[206,300,301],{"class":276},"description",[206,303,280],{"class":267},[206,305,283],{"class":267},[206,307,286],{"class":267},[206,309,310],{"class":216},"Payment Verification Key",[206,312,280],{"class":267},[206,314,294],{"class":267},[206,316,318,320,323,325,327,329,332],{"class":208,"line":317},4,[206,319,273],{"class":267},[206,321,322],{"class":276},"cborHex",[206,324,280],{"class":267},[206,326,283],{"class":267},[206,328,286],{"class":267},[206,330,331],{"class":216},"5820832ba166c8ba8afda5b9d85dfe13dd8fffd460da79a2c3cf34e107216637985b",[206,333,334],{"class":267},"\"\n",[206,336,338],{"class":208,"line":337},5,[206,339,340],{"class":267},"}\n",[166,342,343,348],{},[177,344,345],{},[170,346,347],{},"payment.skey"," (Signing Key):",[197,350,352],{"className":258,"code":351,"language":260,"meta":202,"style":202},"{\n    \"type\": \"PaymentSigningKeyShelley_ed25519\",\n    \"description\": \"Payment Signing Key\",\n    \"cborHex\": \"5820bd09ad4f98cd103e059ab62d17a6a7d920b16d9f0eed3eb6b77d3ca8f61dc117\"\n}\n",[170,353,354,358,377,396,413],{"__ignoreMap":202},[206,355,356],{"class":208,"line":209},[206,357,268],{"class":267},[206,359,360,362,364,366,368,370,373,375],{"class":208,"line":227},[206,361,273],{"class":267},[206,363,277],{"class":276},[206,365,280],{"class":267},[206,367,283],{"class":267},[206,369,286],{"class":267},[206,371,372],{"class":216},"PaymentSigningKeyShelley_ed25519",[206,374,280],{"class":267},[206,376,294],{"class":267},[206,378,379,381,383,385,387,389,392,394],{"class":208,"line":238},[206,380,273],{"class":267},[206,382,301],{"class":276},[206,384,280],{"class":267},[206,386,283],{"class":267},[206,388,286],{"class":267},[206,390,391],{"class":216},"Payment Signing Key",[206,393,280],{"class":267},[206,395,294],{"class":267},[206,397,398,400,402,404,406,408,411],{"class":208,"line":317},[206,399,273],{"class":267},[206,401,322],{"class":276},[206,403,280],{"class":267},[206,405,283],{"class":267},[206,407,286],{"class":267},[206,409,410],{"class":216},"5820bd09ad4f98cd103e059ab62d17a6a7d920b16d9f0eed3eb6b77d3ca8f61dc117",[206,412,334],{"class":267},[206,414,415],{"class":208,"line":337},[206,416,340],{"class":267},[418,419,420],"warning",{},[166,421,422,423,426,427,429],{},"⚠️ ",[177,424,425],{},"Security Warning",": Never share your signing key (",[170,428,347],{},") or commit it to version control.",[189,431,433],{"id":432},"verify-keys-optional","Verify Keys (Optional)",[166,435,436],{},"Verify your keys by building an address:",[197,438,440],{"className":199,"code":439,"language":201,"meta":202,"style":202},"cardano-cli address build \\\n  --payment-verification-key-file payment.vkey \\\n  --testnet-magic 1 \\\n  --out-file payment.addr\n",[170,441,442,453,462,473],{"__ignoreMap":202},[206,443,444,446,448,451],{"class":208,"line":209},[206,445,213],{"class":212},[206,447,217],{"class":216},[206,449,450],{"class":216}," build",[206,452,224],{"class":223},[206,454,455,458,460],{"class":208,"line":227},[206,456,457],{"class":216},"  --payment-verification-key-file",[206,459,233],{"class":216},[206,461,224],{"class":223},[206,463,464,467,471],{"class":208,"line":238},[206,465,466],{"class":216},"  --testnet-magic",[206,468,470],{"class":469},"sbssI"," 1",[206,472,224],{"class":223},[206,474,475,478],{"class":208,"line":317},[206,476,477],{"class":216},"  --out-file",[206,479,480],{"class":216}," payment.addr\n",[166,482,483,486,487,490],{},[177,484,485],{},"Output"," (",[170,488,489],{},"payment.addr","):",[197,492,497],{"className":493,"code":495,"language":496},[494],"language-text","addr_test1vz5hhyn6ecl66a2ca3cwfnwu8ddnp24hakfq2k37rhk28ysk8g0wz\n","text",[170,498,495],{"__ignoreMap":202},[500,501,502],"note",{},[166,503,504,505,508,509,514],{},"This is an ",[177,506,507],{},"enterprise address"," (payment-only, no staking key) following ",[182,510,513],{"href":511,"rel":512},"https:\u002F\u002Fcips.cardano.org\u002Fcips\u002Fcip19\u002F",[186],"CIP-19",".",[189,516,518],{"id":517},"use-with-hydra-sdk","Use with Hydra SDK",[520,521,523],"h3",{"id":522},"basic-setup","Basic Setup",[197,525,529],{"className":526,"code":527,"language":528,"meta":202,"style":202},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { CardanoCliWallet, NETWORK_ID } from '@hydra-sdk\u002Fcore';\n\n\u002F\u002F Extract the cborHex values from your key files\nconst skey = '5820bd09ad4f98cd103e059ab62d17a6a7d920b16d9f0eed3eb6b77d3ca8f61dc117';\nconst vkey = '5820832ba166c8ba8afda5b9d85dfe13dd8fffd460da79a2c3cf34e107216637985b';\n\n\u002F\u002F Initialize the wallet\nconst wallet = new CardanoCliWallet({ \n    skey, \n    vkey, \n    networkId: NETWORK_ID.PREPROD \n});\n\n\u002F\u002F Get address in Bech32 format\nconst address = wallet.getAddressBech32();\nconsole.log('Wallet Address:', address);\n\u002F\u002F Output: addr_test1vz5hhyn6ecl66a2ca3cwfnwu8ddnp24hakfq2k37rhk28ysk8g0wz\n","ts",[170,530,531,566,572,578,597,614,619,625,650,660,670,686,697,702,708,731,758],{"__ignoreMap":202},[206,532,533,537,540,543,546,549,552,555,558,560,563],{"class":208,"line":209},[206,534,536],{"class":535},"s7zQu","import",[206,538,539],{"class":267}," {",[206,541,542],{"class":223}," CardanoCliWallet",[206,544,545],{"class":267},",",[206,547,548],{"class":223}," NETWORK_ID",[206,550,551],{"class":267}," }",[206,553,554],{"class":535}," from",[206,556,557],{"class":267}," '",[206,559,107],{"class":216},[206,561,562],{"class":267},"'",[206,564,565],{"class":267},";\n",[206,567,568],{"class":208,"line":227},[206,569,571],{"emptyLinePlaceholder":570},true,"\n",[206,573,574],{"class":208,"line":238},[206,575,577],{"class":576},"sHwdD","\u002F\u002F Extract the cborHex values from your key files\n",[206,579,580,583,586,589,591,593,595],{"class":208,"line":317},[206,581,582],{"class":276},"const",[206,584,585],{"class":223}," skey ",[206,587,588],{"class":267},"=",[206,590,557],{"class":267},[206,592,410],{"class":216},[206,594,562],{"class":267},[206,596,565],{"class":267},[206,598,599,601,604,606,608,610,612],{"class":208,"line":337},[206,600,582],{"class":276},[206,602,603],{"class":223}," vkey ",[206,605,588],{"class":267},[206,607,557],{"class":267},[206,609,331],{"class":216},[206,611,562],{"class":267},[206,613,565],{"class":267},[206,615,617],{"class":208,"line":616},6,[206,618,571],{"emptyLinePlaceholder":570},[206,620,622],{"class":208,"line":621},7,[206,623,624],{"class":576},"\u002F\u002F Initialize the wallet\n",[206,626,628,630,633,635,638,641,644,647],{"class":208,"line":627},8,[206,629,582],{"class":276},[206,631,632],{"class":223}," wallet ",[206,634,588],{"class":267},[206,636,637],{"class":267}," new",[206,639,542],{"class":640},"s2Zo4",[206,642,643],{"class":223},"(",[206,645,646],{"class":267},"{",[206,648,649],{"class":223}," \n",[206,651,653,656,658],{"class":208,"line":652},9,[206,654,655],{"class":223},"    skey",[206,657,545],{"class":267},[206,659,649],{"class":223},[206,661,663,666,668],{"class":208,"line":662},10,[206,664,665],{"class":223},"    vkey",[206,667,545],{"class":267},[206,669,649],{"class":223},[206,671,673,677,679,681,683],{"class":208,"line":672},11,[206,674,676],{"class":675},"swJcz","    networkId",[206,678,283],{"class":267},[206,680,548],{"class":223},[206,682,514],{"class":267},[206,684,685],{"class":223},"PREPROD \n",[206,687,689,692,695],{"class":208,"line":688},12,[206,690,691],{"class":267},"}",[206,693,694],{"class":223},")",[206,696,565],{"class":267},[206,698,700],{"class":208,"line":699},13,[206,701,571],{"emptyLinePlaceholder":570},[206,703,705],{"class":208,"line":704},14,[206,706,707],{"class":576},"\u002F\u002F Get address in Bech32 format\n",[206,709,711,713,716,718,721,723,726,729],{"class":208,"line":710},15,[206,712,582],{"class":276},[206,714,715],{"class":223}," address ",[206,717,588],{"class":267},[206,719,720],{"class":223}," wallet",[206,722,514],{"class":267},[206,724,725],{"class":640},"getAddressBech32",[206,727,728],{"class":223},"()",[206,730,565],{"class":267},[206,732,734,737,739,742,744,746,749,751,753,756],{"class":208,"line":733},16,[206,735,736],{"class":223},"console",[206,738,514],{"class":267},[206,740,741],{"class":640},"log",[206,743,643],{"class":223},[206,745,562],{"class":267},[206,747,748],{"class":216},"Wallet Address:",[206,750,562],{"class":267},[206,752,545],{"class":267},[206,754,755],{"class":223}," address)",[206,757,565],{"class":267},[206,759,761],{"class":208,"line":760},17,[206,762,763],{"class":576},"\u002F\u002F Output: addr_test1vz5hhyn6ecl66a2ca3cwfnwu8ddnp24hakfq2k37rhk28ysk8g0wz\n",[520,765,767],{"id":766},"transaction-example","Transaction Example",[197,769,771],{"className":526,"code":770,"language":528,"meta":202,"style":202},"import { \n    CardanoCliWallet, \n    NETWORK_ID,\n    ProviderUtils\n} from '@hydra-sdk\u002Fcore';\nimport { TxBuilder } from '@hydra-sdk\u002Ftransaction';\n\n\u002F\u002F Initialize wallet with CLI keys\nconst wallet = new CardanoCliWallet({ \n    skey: '5820bd09ad4f98cd103e059ab62d17a6a7d920b16d9f0eed3eb6b77d3ca8f61dc117',\n    vkey: '5820832ba166c8ba8afda5b9d85dfe13dd8fffd460da79a2c3cf34e107216637985b',\n    networkId: NETWORK_ID.PREPROD \n});\n\n\u002F\u002F Setup provider\nconst provider = new ProviderUtils.BlockfrostProvider({\n    apiKey: 'your-blockfrost-project-id',\n    network: 'preprod'\n});\n\n\u002F\u002F Build transaction\nconst txBuilder = new TxBuilder({\n    fetcher: provider.fetcher,\n    submitter: provider.submitter\n});\nconst unsignedTx = await txBuilder\n    \u002F\u002F ...\n    .complete();\n\n\u002F\u002F Sign transaction\nconst signedTxCbor = await wallet.signTx(unsignedTx.to_hex());\nconsole.log('Signed Transaction:', signedTxCbor);\n\n",[170,772,773,781,790,797,802,816,837,841,846,864,878,892,904,912,916,921,944,960,976,985,990,996,1014,1032,1047,1056,1072,1078,1091,1096,1102,1134],{"__ignoreMap":202},[206,774,775,777,779],{"class":208,"line":209},[206,776,536],{"class":535},[206,778,539],{"class":267},[206,780,649],{"class":675},[206,782,783,786,788],{"class":208,"line":227},[206,784,785],{"class":223},"    CardanoCliWallet",[206,787,545],{"class":267},[206,789,649],{"class":675},[206,791,792,795],{"class":208,"line":238},[206,793,794],{"class":223},"    NETWORK_ID",[206,796,294],{"class":267},[206,798,799],{"class":208,"line":317},[206,800,801],{"class":223},"    ProviderUtils\n",[206,803,804,806,808,810,812,814],{"class":208,"line":337},[206,805,691],{"class":267},[206,807,554],{"class":535},[206,809,557],{"class":267},[206,811,107],{"class":216},[206,813,562],{"class":267},[206,815,565],{"class":267},[206,817,818,820,822,825,827,829,831,833,835],{"class":208,"line":616},[206,819,536],{"class":535},[206,821,539],{"class":267},[206,823,824],{"class":223}," TxBuilder",[206,826,551],{"class":267},[206,828,554],{"class":535},[206,830,557],{"class":267},[206,832,117],{"class":216},[206,834,562],{"class":267},[206,836,565],{"class":267},[206,838,839],{"class":208,"line":621},[206,840,571],{"emptyLinePlaceholder":570},[206,842,843],{"class":208,"line":627},[206,844,845],{"class":576},"\u002F\u002F Initialize wallet with CLI keys\n",[206,847,848,850,852,854,856,858,860,862],{"class":208,"line":652},[206,849,582],{"class":276},[206,851,632],{"class":223},[206,853,588],{"class":267},[206,855,637],{"class":267},[206,857,542],{"class":640},[206,859,643],{"class":223},[206,861,646],{"class":267},[206,863,649],{"class":223},[206,865,866,868,870,872,874,876],{"class":208,"line":662},[206,867,655],{"class":675},[206,869,283],{"class":267},[206,871,557],{"class":267},[206,873,410],{"class":216},[206,875,562],{"class":267},[206,877,294],{"class":267},[206,879,880,882,884,886,888,890],{"class":208,"line":672},[206,881,665],{"class":675},[206,883,283],{"class":267},[206,885,557],{"class":267},[206,887,331],{"class":216},[206,889,562],{"class":267},[206,891,294],{"class":267},[206,893,894,896,898,900,902],{"class":208,"line":688},[206,895,676],{"class":675},[206,897,283],{"class":267},[206,899,548],{"class":223},[206,901,514],{"class":267},[206,903,685],{"class":223},[206,905,906,908,910],{"class":208,"line":699},[206,907,691],{"class":267},[206,909,694],{"class":223},[206,911,565],{"class":267},[206,913,914],{"class":208,"line":704},[206,915,571],{"emptyLinePlaceholder":570},[206,917,918],{"class":208,"line":710},[206,919,920],{"class":576},"\u002F\u002F Setup provider\n",[206,922,923,925,928,930,932,935,937,940,942],{"class":208,"line":733},[206,924,582],{"class":276},[206,926,927],{"class":223}," provider ",[206,929,588],{"class":267},[206,931,637],{"class":267},[206,933,934],{"class":223}," ProviderUtils",[206,936,514],{"class":267},[206,938,939],{"class":640},"BlockfrostProvider",[206,941,643],{"class":223},[206,943,268],{"class":267},[206,945,946,949,951,953,956,958],{"class":208,"line":760},[206,947,948],{"class":675},"    apiKey",[206,950,283],{"class":267},[206,952,557],{"class":267},[206,954,955],{"class":216},"your-blockfrost-project-id",[206,957,562],{"class":267},[206,959,294],{"class":267},[206,961,963,966,968,970,973],{"class":208,"line":962},18,[206,964,965],{"class":675},"    network",[206,967,283],{"class":267},[206,969,557],{"class":267},[206,971,972],{"class":216},"preprod",[206,974,975],{"class":267},"'\n",[206,977,979,981,983],{"class":208,"line":978},19,[206,980,691],{"class":267},[206,982,694],{"class":223},[206,984,565],{"class":267},[206,986,988],{"class":208,"line":987},20,[206,989,571],{"emptyLinePlaceholder":570},[206,991,993],{"class":208,"line":992},21,[206,994,995],{"class":576},"\u002F\u002F Build transaction\n",[206,997,999,1001,1004,1006,1008,1010,1012],{"class":208,"line":998},22,[206,1000,582],{"class":276},[206,1002,1003],{"class":223}," txBuilder ",[206,1005,588],{"class":267},[206,1007,637],{"class":267},[206,1009,824],{"class":640},[206,1011,643],{"class":223},[206,1013,268],{"class":267},[206,1015,1017,1020,1022,1025,1027,1030],{"class":208,"line":1016},23,[206,1018,1019],{"class":675},"    fetcher",[206,1021,283],{"class":267},[206,1023,1024],{"class":223}," provider",[206,1026,514],{"class":267},[206,1028,1029],{"class":223},"fetcher",[206,1031,294],{"class":267},[206,1033,1035,1038,1040,1042,1044],{"class":208,"line":1034},24,[206,1036,1037],{"class":675},"    submitter",[206,1039,283],{"class":267},[206,1041,1024],{"class":223},[206,1043,514],{"class":267},[206,1045,1046],{"class":223},"submitter\n",[206,1048,1050,1052,1054],{"class":208,"line":1049},25,[206,1051,691],{"class":267},[206,1053,694],{"class":223},[206,1055,565],{"class":267},[206,1057,1059,1061,1064,1066,1069],{"class":208,"line":1058},26,[206,1060,582],{"class":276},[206,1062,1063],{"class":223}," unsignedTx ",[206,1065,588],{"class":267},[206,1067,1068],{"class":535}," await",[206,1070,1071],{"class":223}," txBuilder\n",[206,1073,1075],{"class":208,"line":1074},27,[206,1076,1077],{"class":576},"    \u002F\u002F ...\n",[206,1079,1081,1084,1087,1089],{"class":208,"line":1080},28,[206,1082,1083],{"class":267},"    .",[206,1085,1086],{"class":640},"complete",[206,1088,728],{"class":223},[206,1090,565],{"class":267},[206,1092,1094],{"class":208,"line":1093},29,[206,1095,571],{"emptyLinePlaceholder":570},[206,1097,1099],{"class":208,"line":1098},30,[206,1100,1101],{"class":576},"\u002F\u002F Sign transaction\n",[206,1103,1105,1107,1110,1112,1114,1116,1118,1121,1124,1126,1129,1132],{"class":208,"line":1104},31,[206,1106,582],{"class":276},[206,1108,1109],{"class":223}," signedTxCbor ",[206,1111,588],{"class":267},[206,1113,1068],{"class":535},[206,1115,720],{"class":223},[206,1117,514],{"class":267},[206,1119,1120],{"class":640},"signTx",[206,1122,1123],{"class":223},"(unsignedTx",[206,1125,514],{"class":267},[206,1127,1128],{"class":640},"to_hex",[206,1130,1131],{"class":223},"())",[206,1133,565],{"class":267},[206,1135,1137,1139,1141,1143,1145,1147,1150,1152,1154,1157],{"class":208,"line":1136},32,[206,1138,736],{"class":223},[206,1140,514],{"class":267},[206,1142,741],{"class":640},[206,1144,643],{"class":223},[206,1146,562],{"class":267},[206,1148,1149],{"class":216},"Signed Transaction:",[206,1151,562],{"class":267},[206,1153,545],{"class":267},[206,1155,1156],{"class":223}," signedTxCbor)",[206,1158,565],{"class":267},[189,1160,100],{"id":1161},"api-reference",[520,1163,1165],{"id":1164},"constructor","Constructor",[197,1167,1169],{"className":526,"code":1168,"language":528,"meta":202,"style":202},"new CardanoCliWallet(options: CardanoCliWalletConfig)\n",[170,1170,1171],{"__ignoreMap":202},[206,1172,1173,1176,1178],{"class":208,"line":209},[206,1174,1175],{"class":267},"new",[206,1177,542],{"class":640},[206,1179,1180],{"class":223},"(options: CardanoCliWalletConfig)\n",[166,1182,1183,283],{},[177,1184,1185],{},"Options",[1187,1188,1189,1199,1207,1221,1226],"ul",{},[1190,1191,1192,1195,1196,694],"li",{},[170,1193,1194],{},"skey"," (required): CBOR hex of the signing key (format: ",[170,1197,1198],{},"5820...",[1190,1200,1201,1204,1205,694],{},[170,1202,1203],{},"vkey"," (required): CBOR hex of the verification key (format: ",[170,1206,1198],{},[1190,1208,1209,1212,1213,1216,1217,1220],{},[170,1210,1211],{},"networkId"," (optional): ",[170,1214,1215],{},"NETWORK_ID.MAINNET"," (1) or ",[170,1218,1219],{},"NETWORK_ID.PREPROD"," (0), default is MAINNET",[1190,1222,1223,1225],{},[170,1224,1029],{}," (optional): Custom fetcher for querying UTxOs",[1190,1227,1228,1231],{},[170,1229,1230],{},"submitter"," (optional): Custom submitter for transaction submission",[520,1233,1235],{"id":1234},"methods","Methods",[197,1237,1239],{"className":526,"code":1238,"language":528,"meta":202,"style":202},"\u002F\u002F Get address in Bech32 format\ngetAddressBech32(): string\n\n\u002F\u002F Sign a transaction\nsignTx(unsignedTxHex: string, partialSign?: boolean): Promise\u003Cstring>\n\n\u002F\u002F Get network ID\ngetNetworkId(): number\n\n\u002F\u002F Submit transaction (requires submitter in constructor)\nsubmitTx(tx: string): Promise\u003Cstring>\n\n\u002F\u002F Query UTxOs (requires fetcher in constructor)\nqueryUTxOs(address: string): Promise\u003CUTxO[]>\n",[170,1240,1241,1245,1252,1256,1261,1291,1295,1300,1308,1312,1317,1333,1337,1342],{"__ignoreMap":202},[206,1242,1243],{"class":208,"line":209},[206,1244,707],{"class":576},[206,1246,1247,1249],{"class":208,"line":227},[206,1248,725],{"class":640},[206,1250,1251],{"class":223},"(): string\n",[206,1253,1254],{"class":208,"line":238},[206,1255,571],{"emptyLinePlaceholder":570},[206,1257,1258],{"class":208,"line":317},[206,1259,1260],{"class":576},"\u002F\u002F Sign a transaction\n",[206,1262,1263,1265,1268,1270,1273,1276,1279,1282,1285,1288],{"class":208,"line":337},[206,1264,1120],{"class":640},[206,1266,1267],{"class":223},"(unsignedTxHex: string",[206,1269,545],{"class":267},[206,1271,1272],{"class":223}," partialSign",[206,1274,1275],{"class":267},"?:",[206,1277,1278],{"class":223}," boolean): ",[206,1280,1281],{"class":212},"Promise",[206,1283,1284],{"class":267},"\u003C",[206,1286,1287],{"class":223},"string",[206,1289,1290],{"class":267},">\n",[206,1292,1293],{"class":208,"line":616},[206,1294,571],{"emptyLinePlaceholder":570},[206,1296,1297],{"class":208,"line":621},[206,1298,1299],{"class":576},"\u002F\u002F Get network ID\n",[206,1301,1302,1305],{"class":208,"line":627},[206,1303,1304],{"class":640},"getNetworkId",[206,1306,1307],{"class":223},"(): number\n",[206,1309,1310],{"class":208,"line":652},[206,1311,571],{"emptyLinePlaceholder":570},[206,1313,1314],{"class":208,"line":662},[206,1315,1316],{"class":576},"\u002F\u002F Submit transaction (requires submitter in constructor)\n",[206,1318,1319,1322,1325,1327,1329,1331],{"class":208,"line":672},[206,1320,1321],{"class":640},"submitTx",[206,1323,1324],{"class":223},"(tx: string): ",[206,1326,1281],{"class":212},[206,1328,1284],{"class":267},[206,1330,1287],{"class":223},[206,1332,1290],{"class":267},[206,1334,1335],{"class":208,"line":688},[206,1336,571],{"emptyLinePlaceholder":570},[206,1338,1339],{"class":208,"line":699},[206,1340,1341],{"class":576},"\u002F\u002F Query UTxOs (requires fetcher in constructor)\n",[206,1343,1344,1347,1350,1352,1354,1357],{"class":208,"line":704},[206,1345,1346],{"class":640},"queryUTxOs",[206,1348,1349],{"class":223},"(address: string): ",[206,1351,1281],{"class":212},[206,1353,1284],{"class":267},[206,1355,1356],{"class":223},"UTxO[]",[206,1358,1290],{"class":267},[520,1360,1362],{"id":1361},"properties","Properties",[197,1364,1366],{"className":526,"code":1365,"language":528,"meta":202,"style":202},"\u002F\u002F Get payment signing key\npaymentSKey: CardanoWASM.PrivateKey\n\n\u002F\u002F Get payment verification key\npaymentVKey: CardanoWASM.PublicKey\n",[170,1367,1368,1373,1388,1392,1397],{"__ignoreMap":202},[206,1369,1370],{"class":208,"line":209},[206,1371,1372],{"class":576},"\u002F\u002F Get payment signing key\n",[206,1374,1375,1378,1380,1383,1385],{"class":208,"line":227},[206,1376,1377],{"class":212},"paymentSKey",[206,1379,283],{"class":267},[206,1381,1382],{"class":223}," CardanoWASM",[206,1384,514],{"class":267},[206,1386,1387],{"class":223},"PrivateKey\n",[206,1389,1390],{"class":208,"line":238},[206,1391,571],{"emptyLinePlaceholder":570},[206,1393,1394],{"class":208,"line":317},[206,1395,1396],{"class":576},"\u002F\u002F Get payment verification key\n",[206,1398,1399,1402,1404,1406,1408],{"class":208,"line":337},[206,1400,1401],{"class":212},"paymentVKey",[206,1403,283],{"class":267},[206,1405,1382],{"class":223},[206,1407,514],{"class":267},[206,1409,1410],{"class":223},"PublicKey\n",[189,1412,1414],{"id":1413},"next-steps","Next Steps",[1187,1416,1417,1422,1428],{},[1190,1418,1419,1420],{},"Learn about ",[182,1421,41],{"href":42},[1190,1423,1424,1425],{},"Explore ",[182,1426,1427],{"href":57},"Working with Utilities",[1190,1429,1430,1431],{},"See more ",[182,1432,1433],{"href":30},"Examples",[189,1435,1437],{"id":1436},"related-resources","Related Resources",[1187,1439,1440,1445,1451],{},[1190,1441,1442],{},[182,1443,187],{"href":184,"rel":1444},[186],[1190,1446,1447],{},[182,1448,1450],{"href":511,"rel":1449},[186],"CIP-19: Cardano Addresses",[1190,1452,1453],{},[182,1454,1455],{"href":108},"Hydra SDK Core API",[1457,1458,1459],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":202,"searchDepth":209,"depth":227,"links":1461},[1462,1463,1464,1468,1473,1474],{"id":191,"depth":227,"text":192},{"id":432,"depth":227,"text":433},{"id":517,"depth":227,"text":518,"children":1465},[1466,1467],{"id":522,"depth":238,"text":523},{"id":766,"depth":238,"text":767},{"id":1161,"depth":227,"text":100,"children":1469},[1470,1471,1472],{"id":1164,"depth":238,"text":1165},{"id":1234,"depth":238,"text":1235},{"id":1361,"depth":238,"text":1362},{"id":1413,"depth":227,"text":1414},{"id":1436,"depth":227,"text":1437},"Learn how to use Cardano-CLI generated keys with Hydra SDK using CardanoCliWallet.","md",null,{},{"icon":64},{"title":61,"description":1475},"ygD_5alFYxX86pVLAwUOQmxqAj-EO6hQyGkBgwagC50",[1483,1485],{"title":56,"path":57,"stem":58,"description":1484,"icon":59,"children":-1},"Task-oriented recipes for the Hydra SDK utility namespaces — datums, redeemers, time, policies, providers, and more.",{"title":71,"path":67,"stem":68,"description":1486,"icon":72,"children":-1},"Understanding the benefits and use cases of Hydra Layer 2 scaling solution",1784812304745]