Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.
Create a key list key structure where all the keys in the list are required to sign transactions that modify accounts, topics, tokens, smart contracts, or files. A key list can contain a Ed25519 or ECDSA (secp256k1_)_ key type.If all the keys in the key list key structure do not sign, the transaction will fail and return an “INVALID_SIGNATURE” error. A key list can have repeated keys. A signature for the repeated key will count as many times as the key is listed in the key list. For example, a key list has three keys. Two of the three public keys in the list are the same. When a user signs a transaction with the repeated key it will account for two out of the three keys required signature.
Method
Type
Description
KeyList.of(<keys>)
Key
Keys to add to the key list
Java
JavaScript
Go
Rust
//Generate 3 keysPrivateKey key1 = PrivateKey.generate();PublicKey publicKey1 = key1.getPublicKey();PrivateKey key2 = PrivateKey.generate();PublicKey publicKey2 = key2.getPublicKey();PrivateKey key3 = PrivateKey.generate();PublicKey publicKey3 = key3.getPublicKey();//Create a key list where all 3 keys are required to signKeyList keyStructure = KeyList.of(key1, key2, key3);System.println(keyStructure)//v2.0.0
//Generate 3 keysconst key1 = PrivateKey.generate();const publicKey1 = key1.publicKey;const key2 = PrivateKey.generate();const publicKey2 = key2.publicKey;const key3 = PrivateKey.generate();const publicKey3 = key3.publicKey;//Create a list of the keysconst publicKeyList = [];publicKeyList.push(publicKey1);publicKeyList.push(publicKey2);publicKeyList.push(publicKey3);//Create a key list where all 3 keys are required to signconst keys = new KeyList(publicKeyList);//v2.0.13
//Generate 3 keyskey1, err := hedera.GeneratePrivateKey()if err != nil { panic(err)}publicKey1, err := key1.PublicKey()key2, err := hedera.GeneratePrivateKey()if err != nil { panic(err)}publicKey2, err := key2.PublicKey()key3, err := hedera.GeneratePrivateKey()if err != nil { panic(err)}publicKey3, err := key3.PublicKey()//Create a key list where all 3 keys are required to signkeys := make([]hedera.PublicKey, 3)keys[0] = publicKey1keys[1] = publicKey2keys[2] = publicKey3keyStructure := hedera.NewKeyList().AddAllPublicKeys(keys)fmt.Printf("The key list is %v\n", keyStructure) //v2.0.0
let key_list = KeyList::new()println!("The key list is {:?}", key_list);// v0.34.0
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hedera","colors":{"primary":"#8259EF","light":"#8259EF","dark":"#8259EF"},"logo":{"light":"https://mintcdn.com/hedera-0c6e0218/Ec8wSwt_B0k46eSv/logo/light.svg?fit=max\u0026auto=format\u0026n=Ec8wSwt_B0k46eSv\u0026q=85\u0026s=6bee8431a7ed0bac7986314e2468c493","dark":"https://mintcdn.com/hedera-0c6e0218/Ec8wSwt_B0k46eSv/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ec8wSwt_B0k46eSv\u0026q=85\u0026s=09cf49dca25990cc7557b4df402c966d","href":"/"},"favicon":"https://mintcdn.com/hedera-0c6e0218/xsqLm8XewAKCYoh_/favicon.png?fit=max\u0026auto=format\u0026n=xsqLm8XewAKCYoh_\u0026q=85\u0026s=7eb847742a64256b086798847d434e32","api":{"openapi":["openapi.yaml","hedera-status-api.yaml","smart-contract-verification-api.yaml"]},"appearance":{"default":"light"},"background":{"decoration":"gradient"},"navbar":{"links":[{"icon":"robot","href":"/learn/getting-started/mcp-setup","label":"Docs MCP"}],"primary":{"type":"button","label":"Dev Portal","href":"https://portal.hedera.com"}},"footer":{"socials":{"discord":"https://hedera.com/discord","linkedin":"https://www.linkedin.com/company/hedera-network","medium":"https://medium.com/hedera","reddit":"https://www.reddit.com/r/Hedera","telegram":"https://t.me/hederahashgraph","x":"https://X.com/hedera","youtube":"https://www.youtube.com/hederahashgraph"}},"fonts":{"heading":{"family":"Styrene A Medium","weight":700,"source":"public/fonts/styrene/StyreneA-Medium-Web.woff2","format":"woff2"},"body":{"family":"Styrene Regular","weight":500,"source":"public/fonts/styrene/StyreneA-Regular-Web.woff2","format":"woff2"}},"integrations":{"gtm":{"tagId":"GTM-NHLK548"}},"contextual":{"options":["copy","view","vscode","claude","chatgpt","perplexity","mcp","cursor","download-spec"],"display":"header"},"markdown":{"instructions":["Hedera is a public, proof-of-stake distributed ledger that uses hashgraph consensus. Do not call it a blockchain.","Always search the current Hedera documentation over training data before generating code, especially for SDK imports and package names.","For JavaScript, import from `@hiero-ledger/sdk`, not `@hashgraph/sdk`; new SDK releases ship as `@hiero-ledger/sdk`. The Java SDK keeps the `com.hedera.hashgraph:sdk` Maven coordinates. Verify the exact import against the docs.","Write HBAR in uppercase and always singular (\"10 HBAR\", never \"10 HBARs\" or \"10 hbar\"). Write tinybars in lowercase and plural.","Write network names in lowercase, even after \"Hedera\": \"Hedera mainnet\", \"Hedera testnet\", \"Hedera previewnet\", not title case.","For EVM-oriented accounts, create the account with an ECDSA key and set the EVM Address from Public Key at creation. This address is immutable and is not updated by key rotation. Do not use retired terms like \"EVM alias\" or \"Account Number Alias\"."]},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"http://status.hedera.com/"},{"anchor":"Discord","icon":"discord","href":"https://hedera.com/discord"},{"anchor":"Playground","icon":"code","href":"https://portal.hedera.com/playground"},{"anchor":"Blog","icon":"newspaper","href":"https://hedera.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hedera-0c6e0218","hasAudioNarration":false,"actualSubdomain":"hedera-0c6e0218","customDomains":["docs.hedera.com"],"gitSource":{"type":"github","owner":"hashgraph","repo":"hedera-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afb16293f5f5eede31dc41b","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Reference","count":226},{"language":"default","tag":"Protobuf API","count":146},{"language":"default","tag":"Native SDKs","count":134},{"language":"default","tag":"EVM Developers","count":92},{"language":"default","tag":"Solutions","count":80},{"language":"default","tag":"Token Service","count":57},{"language":"default","tag":"Mirror Node REST API","count":56},{"language":"default","tag":"Tutorials","count":49},{"language":"default","tag":"Basic Types","count":47},{"language":"default","tag":"Learn","count":38}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"docs@hashgraph.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6996e11da5862481a0848078","deploymentId":"689bce04f9e94e450e35b216","questionText":"How do I query transaction data?","status":"active","generatedBy":"manual","createdAt":"2026-02-19T10:08:29.158Z","updatedAt":"2026-02-19T10:08:29.158Z","__v":0},{"_id":"6996e0fca5862481a0847fb4","deploymentId":"689bce04f9e94e450e35b216","questionText":"How do I create tokens and accounts?","status":"active","generatedBy":"manual","createdAt":"2026-02-19T10:07:56.354Z","updatedAt":"2026-02-19T10:07:56.354Z","__v":0},{"_id":"6996e0eaa5862481a0847f7c","deploymentId":"689bce04f9e94e450e35b216","questionText":"How do I submit my first transaction?","status":"active","generatedBy":"manual","createdAt":"2026-02-19T10:07:38.822Z","updatedAt":"2026-02-19T10:07:38.822Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Styrene Light Web\";src:url(\"/public/fonts/styrene/StyreneA-Light-Web.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Styrene Regular\";src:url(\"/public/fonts/styrene/StyreneA-Regular-Web.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Styrene A Medium\";src:url(\"/public/fonts/styrene/StyreneA-Medium-Web.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Styrene Bold\";src:url(\"/public/fonts/styrene/StyreneA-Bold-Web.woff2\") format(\"woff2\");font-weight:700;font-style:normal;font-display:swap}strong,b,.prose strong,.prose b{font-family:\"Styrene Bold\", sans-serif!important;font-weight:700!important}:root{--font-body: \"Styrene Regular\";--font-heading: \"Styrene A Medium\";--landing-fg-primary: #11151D;--landing-fg-secondary: rgba(17, 21, 29, 0.7);--landing-fg-tertiary: rgba(17, 21, 29, 0.55);--landing-border: rgba(17, 21, 29, 0.1);--landing-card-bg: #11151d05;--landing-demo-icon: rgba(17, 21, 29, 0.45);--landing-card-icon-bg: linear-gradient(135deg, #A893F4 0%, #5C7BFF 100%);--landing-pill-bg: linear-gradient(135deg, rgba(168, 147, 244, 0.18) 0%, rgba(92, 123, 255, 0.12) 100%);--landing-pill-fg: #4A2FA8;--landing-pill-border: rgba(130, 89, 239, 0.28)}.dark,[data-theme=\"dark\"]{--landing-fg-primary: #ffffff;--landing-fg-secondary: rgba(255, 255, 255, 0.82);--landing-fg-tertiary: rgba(255, 255, 255, 0.64);--landing-border: rgba(255, 255, 255, 0.10);--landing-card-bg: rgba(255, 255, 255, 0.09);--landing-demo-icon: rgba(255, 255, 255, 0.5);--landing-card-icon-bg: linear-gradient(135deg, #8259EF 25%, #0031FF 75%, #000000 100%);--landing-pill-bg: #000000 100% !important;--landing-pill-fg: rgba(255, 255, 255, 0.92);--landing-pill-border: rgba(130, 89, 239, 0.40) !important}.landing-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;padding:6px 16px!important;border-radius:20px!important;font-size:13px!important;line-height:20px!important;font-weight:500!important;color:#ffffff!important;background:#000000!important;border:1px solid var(--landing-pill-border)!important;text-decoration:none!important;transition:background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease!important}.landing-pill:hover{background:#5b5470!important;border-color:rgba(130, 89, 239, 0.28)!important;color:#ffffff!important}.dark .landing-pill:hover,[data-theme=\"dark\"] .landing-pill:hover{background:#342d46!important;border-color:#342d46!important;color:#ffffff!important}.landing-container{max-width:1200px;margin:0 auto;padding:0 24px}html:not(.dark):not([data-theme=\"dark\"]) .landing-container{--landing-fg-primary: #11151D;--landing-fg-secondary: rgba(17, 21, 29, 0.70);--landing-fg-tertiary: rgba(17, 21, 29, 0.55);--landing-border: rgba(17, 21, 29, 0.10);--landing-card-bg: rgba(255, 255, 255, 0.82);--landing-card-icon-bg: linear-gradient(135deg, #A893F4 0%, #5C7BFF 100%);--landing-pill-bg: linear-gradient(135deg, rgba(168, 147, 244, 0.18) 0%, rgba(92, 123, 255, 0.12) 100%);--landing-pill-fg: #4A2FA8;--landing-pill-border: rgba(130, 89, 239, 0.28)}.hero-split{display:grid;grid-template-columns:1fr 1fr}@media (max-width: 640px){.hero-split{grid-template-columns:1fr}}.hero-panel{--landing-fg-primary: #ffffff;--landing-fg-secondary: rgba(255, 255, 255, 0.7);--landing-fg-tertiary: rgba(255, 255, 255, 0.5);position:relative;border-radius:16px;border:none;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;padding:clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);margin-bottom:16px;overflow:hidden}html:not(.dark):not([data-theme=\"dark\"]) .hero-panel{--landing-fg-primary: #11151D;--landing-fg-secondary: rgba(17, 21, 29, 0.70);--landing-fg-tertiary: rgba(17, 21, 29, 0.50)}.dark .hero-panel,[data-theme=\"dark\"] .hero-panel{background:transparent;border:none}.hero-cta{display:inline-flex;align-items:center;gap:6px;padding:10px 24px;border-radius:999px;font-size:0.9375rem;font-weight:600;letter-spacing:-0.01em;text-decoration:none;white-space:nowrap;border:1px solid transparent;background:#8259EF;color:#ffffff;box-shadow:0 2px 10px rgba(130, 89, 239, 0.35);transition:background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease}.hero-cta:hover{background:#333335;box-shadow:none;color:#ffffff}.dark .hero-cta,[data-theme=\"dark\"] .hero-cta{background:#ffffff;color:#11151D;box-shadow:none;border-color:transparent}.dark .hero-cta:hover,[data-theme=\"dark\"] .hero-cta:hover{background:transparent;color:#ffffff;border-color:rgba(255, 255, 255, 0.65)}.ai-bounty-bar{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;padding:12px 16px;margin-bottom:28px;border-radius:10px;font-size:0.875rem;line-height:1.6;text-decoration:none;background:#15121F;border:1px solid rgba(255, 255, 255, 0.10);color:#ffffff;transition:background-color 0.15s ease, border-color 0.15s ease}.ai-bounty-bar:hover{background:#1d1830;border-color:rgba(255, 255, 255, 0.20)}.ai-bounty-bar-dot{width:8px;height:8px;border-radius:50%;background:#2D84EB;box-shadow:0 0 7px rgba(45, 132, 235, 0.85);flex-shrink:0}.ai-bounty-bar-text{flex:1;min-width:0;align-items:center!important}.ai-bounty-bar strong,.ai-bounty-bar b{color:inherit!important}.ai-bounty-bar-cta{font-weight:700;color:rgba(214, 199, 255, 1);white-space:nowrap;flex-shrink:0;font-family:\"Styrene Bold\", sans-serif;text-shadow:0 0 10px rgba(168, 147, 244, 0.7), 0 0 18px rgba(130, 89, 239, 0.5);transition:text-shadow 0.15s ease}.ai-bounty-bar:hover .ai-bounty-bar-cta{text-shadow:0 0 12px rgba(168, 147, 244, 0.95), 0 0 24px rgba(130, 89, 239, 0.7)}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar{background:#F3F0FC;border:1px solid rgba(130, 89, 239, 0.22);color:#11151D}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar:hover{background:#ECE6FB;border-color:rgba(130, 89, 239, 0.38)}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar-cta{color:#6B42CC;text-shadow:none}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar:hover .ai-bounty-bar-cta{text-shadow:none}.hero-persona-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:10px;border:1px solid rgba(255, 255, 255, 0.18);text-decoration:none;background-color:rgba(255, 255, 255, 0.07);position:relative;overflow:hidden;transition:border-color 0.15s ease, background-color 0.15s ease}.hero-persona-icon{width:36px;height:36px;border-radius:9px;background:var(--landing-card-icon-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}.hero-persona-icon svg{height:18px;width:auto;max-width:18px}.hero-persona-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(to bottom, rgba(168, 147, 244, 0.5), rgba(92, 123, 255, 0.5));transition:background 0.15s ease}.dark .hero-persona-card::before,[data-theme=\"dark\"] .hero-persona-card::before{background:linear-gradient(to bottom, rgba(130, 89, 239, 0.55), rgba(0, 49, 255, 0.55))}.hero-persona-card:hover::before{background:linear-gradient(to bottom, #A893F4, #5C7BFF)}.dark .hero-persona-card:hover::before,[data-theme=\"dark\"] .hero-persona-card:hover::before{background:linear-gradient(to bottom, #8259EF, #0031FF)}.hero-persona-card::after{content:'→';font-size:0.875rem;color:rgba(255, 255, 255, 0.45);flex-shrink:0;transition:color 0.15s ease, transform 0.15s ease}.hero-persona-card:hover::after{color:rgba(255, 255, 255, 0.85);transform:translateX(3px)}.hero-persona-card:hover{border-color:rgba(255, 255, 255, 0.40);background-color:rgba(255, 255, 255, 0.12)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card{border-color:rgba(130, 89, 239, 0.18);background-color:rgba(255, 255, 255, 0.78);box-shadow:0 1px 2px rgba(17, 21, 29, 0.06), 0 2px 8px rgba(17, 21, 29, 0.05)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card::after{color:rgba(17, 21, 29, 0.30)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card:hover{border-color:rgba(130, 89, 239, 0.35);background-color:rgba(130, 89, 239, 0.07);box-shadow:0 2px 12px rgba(130, 89, 239, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card:hover::after{color:rgba(17, 21, 29, 0.70)}.dark .hero-persona-card,[data-theme=\"dark\"] .hero-persona-card{background-color:rgba(255, 255, 255, 0.08);border-color:rgba(255, 255, 255, 0.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.dark .hero-persona-card:hover,[data-theme=\"dark\"] .hero-persona-card:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}.landing-section{padding:48px 0;border-bottom:1px solid var(--landing-border)}.landing-section:last-of-type{border-bottom:none}.landing-section-heading{font-size:clamp(1.375rem, 2.5vw, 1.75rem);font-weight:500;margin:0 0 6px;letter-spacing:-0.015em;color:var(--landing-fg-primary);text-shadow:0 0 24px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.35)}html:not(.dark):not([data-theme=\"dark\"]) .landing-section-heading{text-shadow:none}.landing-section-heading a{color:inherit;text-decoration:none}.landing-section-description{font-size:0.9375rem;color:var(--landing-fg-tertiary);margin:0 0 28px;max-width:540px;line-height:1.55;text-shadow:0 0 20px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.30)}html:not(.dark):not([data-theme=\"dark\"]) .landing-section-description{text-shadow:none}.landing-section-heading-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}.landing-section-heading-row .landing-section-heading{margin:0}.landing-see-all{font-size:0.8125rem;color:rgba(200, 180, 255, 0.9);text-decoration:none;font-weight:500;white-space:nowrap}.landing-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));gap:12px}.landing-grid--wide{grid-template-columns:repeat(auto-fit, minmax(380px, 1fr))}.landing-grid--loose{gap:16px}.landing-card{display:flex;align-items:flex-start;gap:14px;padding:18px;border-radius:10px;border:1px solid var(--landing-border);text-decoration:none;background-color:var(--landing-card-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color 0.15s ease, background-color 0.15s ease}.landing-card:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card{box-shadow:0 1px 2px rgba(17, 21, 29, 0.06), 0 2px 8px rgba(17, 21, 29, 0.05)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card:hover{border-color:rgba(130, 89, 239, 0.30);background-color:rgba(130, 89, 239, 0.07);box-shadow:0 2px 12px rgba(130, 89, 239, 0.14)}.landing-card-icon{width:40px;height:40px;border-radius:10px;background:var(--landing-card-icon-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}.landing-card-icon img{width:20px;height:20px;display:block}.landing-card-icon img[src*=\"icon-white-hiero\"]{width:15px;height:15px}.landing-card-title{font-weight:700;font-size:1rem;color:var(--landing-fg-primary);margin-bottom:4px}.landing-card-desc{font-size:0.9rem;font-weight:500;color:var(--landing-fg-tertiary);line-height:1.45}.landing-card-stacked{display:block;padding:20px;border-radius:10px;border:1px solid var(--landing-border);text-decoration:none;background-color:var(--landing-card-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color 0.15s ease, background-color 0.15s ease}.landing-card-stacked:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card-stacked{box-shadow:0 1px 2px rgba(17, 21, 29, 0.06), 0 2px 8px rgba(17, 21, 29, 0.05)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card-stacked:hover{border-color:rgba(130, 89, 239, 0.30);background-color:rgba(130, 89, 239, 0.07);box-shadow:0 2px 12px rgba(130, 89, 239, 0.14)}.landing-card-stacked .landing-card-icon{margin-bottom:14px}.landing-card-stacked .landing-card-title{margin-bottom:6px}.landing-card-stacked .landing-card-desc{margin-bottom:14px}.landing-media-card{display:block;border-radius:10px;border:1px solid var(--landing-border);text-decoration:none;overflow:hidden;background-color:var(--landing-card-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color 0.15s ease, background-color 0.15s ease}.landing-media-card:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .landing-media-card:hover{border-color:rgba(130, 89, 239, 0.30);background-color:rgba(255, 255, 255, 0.85)}.landing-media-card-hero{height:120px;background:linear-gradient(135deg, rgba(130, 89, 239, 0.55) 0%, rgba(0, 49, 255, 0.5) 100%);display:flex;align-items:center;justify-content:center}.landing-media-card-body{padding:16px}.landing-media-card-body .landing-card-title{margin-bottom:6px}.landing-media-card-body .landing-card-desc{margin-bottom:14px}.landing-tag-group{display:flex;gap:6px;flex-wrap:wrap}.landing-tag{font-size:0.6875rem;padding:2px 8px;border-radius:999px;border:1px solid rgba(255, 255, 255, 0.20);color:rgba(255, 255, 255, 0.65)}html:not(.dark):not([data-theme=\"dark\"]) .landing-tag{border-color:rgba(17, 21, 29, 0.18);color:rgba(17, 21, 29, 0.55)}.landing-footer{padding:40px 0 24px}.landing-footer-heading{font-size:clamp(1.125rem, 2vw, 1.375rem);font-weight:500;align-items:center!important;margin:0 0 12px;text-shadow:0 0 24px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.35);letter-spacing:-0.01em;color:var(--landing-fg-primary)}html:not(.dark):not([data-theme=\"dark\"]) .landing-footer-heading{text-shadow:none}.landing-footer-heading a{color:inherit;text-decoration:none}.landing-prose-link{color:rgba(200, 180, 255, 0.95);text-decoration:underline;text-underline-offset:2px;font-family:\"Styrene A Medium\", sans-serif}.landing-prose-link:hover{color:#ffffff}html:not(.dark):not([data-theme=\"dark\"]) .landing-prose-link{color:#6B42CC}html:not(.dark):not([data-theme=\"dark\"]) .landing-prose-link:hover{color:#5130A0}.landing-pill-group{display:flex;gap:10px;flex-wrap:wrap}ul.tabs-wrap[role=\"tablist\"]{flex-wrap:wrap;overflow:visible;column-gap:1rem;row-gap:0.25rem}html,body{background:linear-gradient(to bottom,\n #ffffff 85%,\n #7a72ff 100%)!important;min-height:100%}html{height:auto!important}.dark,.dark body,[data-theme=\"dark\"],[data-theme=\"dark\"] body{background:linear-gradient(to bottom,\n #000000 80%,\n #1a0a3c 100%)!important;min-height:100%}[class*=\"-z-10\"][class*=\"bg-background\"]{background-color:transparent!important}.dark aside,[data-theme=\"dark\"] aside,.dark nav[class*=\"sidebar\"],[data-theme=\"dark\"] nav[class*=\"sidebar\"]{background:rgba(0, 0, 0, 0.35)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}header{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:none!important;font-family:var(--font-body)!important}header img[src*=\"/logo/light.svg\"],header img[src*=\"/logo/dark.svg\"]{height:35px!important;width:auto!important;max-height:none!important}.dark header,[data-theme=\"dark\"] header{background:transparent!important;border-bottom:none!important}header nav a,header [role=\"tablist\"] a,header ul[role=\"tablist\"]>li>a,div[class*=\"tab\"]>a,[data-component=\"tabs\"] a{font-weight:600!important}header nav a[aria-current],header nav a[data-active=\"true\"],header [role=\"tablist\"] a[aria-current],header [role=\"tablist\"] a[data-active=\"true\"]{font-weight:700!important}html,body{font-family:var(--font-body);font-weight:600;letter-spacing:-0.01em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6,.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{font-family:\"Styrene A Medium\", sans-serif!important;font-weight:400!important;letter-spacing:-0.015em!important;line-height:1.3!important;color:inherit}p,li,span,.prose p,.prose li{font-weight:400!important;letter-spacing:-0.01em}.card img{max-height:200px}.sm\\:grid-cols-3 .card img{max-height:120px}nav.text-sm{display:flex!important;align-items:center!important;gap:4px!important}nav.text-sm ul>*{margin:4px!important}nav.text-sm a[href*=\"mcp-setup\"],nav.text-sm a[href*=\"portal\"]{display:inline-flex!important;align-items:center;justify-content:center;border-radius:12px!important;font-size:14px!important;font-weight:500!important;line-height:20px!important;height:34px!important;padding:6px 16px!important;text-decoration:none!important;transition:all 0.15s ease!important;box-shadow:none!important}nav.text-sm a[href*=\"mcp-setup\"],nav.text-sm li a[href*=\"mcp-setup\"],nav.text-sm ul li a[href*=\"mcp-setup\"]{background-color:#1f1f1f!important;color:#ffffff!important;border:1px solid #1f1f1f!important}nav.text-sm a[href*=\"portal.hedera.com\"],nav.text-sm li a[href*=\"portal.hedera.com\"],nav.text-sm ul li a[href*=\"portal.hedera.com\"]{background-color:#8259EF!important;background-image:none!important;color:#ffffff!important;border:none!important}nav.text-sm a[href*=\"portal.hedera.com\"]:hover{background-color:#0031FF!important;border-color:#0031FF!important;color:#ffffff!important}nav.text-sm a[href*=\"mcp-setup\"]:hover,nav.text-sm li a[href*=\"mcp-setup\"]:hover,nav.text-sm ul li a[href*=\"mcp-setup\"]:hover{background-color:#8259EF!important;border:1px solid #8259EF!important;color:#ffffff!important}.dark nav.text-sm a[href*=\"mcp-setup\"],[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]{background-color:#e8e8e8!important;color:#000000!important;border:1px solid #e8e8e8!important}.dark nav.text-sm a[href*=\"mcp-setup\"]:hover,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]:hover{background-color:#8259EF!important;border:1px solid #8259EF!important;color:#ffffff!important}.dark nav.text-sm a svg,[data-theme=\"dark\"] nav.text-sm a svg{filter:brightness(1.5) contrast(1.3)!important;opacity:1!important}nav.text-sm a[href*=\"mcp-setup\"] img,nav.text-sm a[href*=\"mcp-setup\"] svg{filter:brightness(0) invert(1)!important;opacity:1!important}.dark nav.text-sm a[href*=\"mcp-setup\"] img,.dark nav.text-sm a[href*=\"mcp-setup\"] svg,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"] img,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"] svg{filter:brightness(0)!important;opacity:1!important}.dark nav.text-sm a[href*=\"mcp-setup\"]:hover img,.dark nav.text-sm a[href*=\"mcp-setup\"]:hover svg,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]:hover img,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]:hover svg{filter:brightness(0) invert(1)!important}.playground-grid{display:grid;grid-template-columns:minmax(0, 1fr);gap:16px;align-items:start}@media (min-width: 768px){.playground-grid{grid-template-columns:minmax(280px, 380px) minmax(0, 1fr)}}.hiero-cli-coverage-heatmap-wrap{margin:1.5rem 0;overflow-x:auto;border-radius:8px;border:1px solid rgb(229 231 235);background:rgb(249 250 251)}.dark .hiero-cli-coverage-heatmap-wrap,[data-theme=\"dark\"] .hiero-cli-coverage-heatmap-wrap{border-color:rgb(55 65 81);background:rgb(17 24 39 / 0.35)}.hiero-cli-coverage-heatmap{display:flex;flex-direction:column;gap:10px;padding:16px;min-width:min(100%, 720px)}.hiero-cli-coverage-heatmap-row{display:grid;grid-template-columns:minmax(160px, 220px) 1fr;gap:12px;align-items:center}@media (max-width: 640px){.hiero-cli-coverage-heatmap-row{grid-template-columns:1fr}}.hiero-cli-coverage-heatmap-area{font-size:0.875rem;font-weight:600;line-height:1.3}.hiero-cli-coverage-heatmap-strip{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.hiero-cli-coverage-dot{flex:0 0 auto;width:14px;height:14px;border-radius:3px;display:inline-block;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.08)}.hiero-cli-coverage-dot--yes{background:#16a34a}.hiero-cli-coverage-dot--partial{background:#d97706}.hiero-cli-coverage-dot--no{background:#dc2626}.dark .hiero-cli-coverage-dot,[data-theme=\"dark\"] .hiero-cli-coverage-dot{border-color:rgba(255, 255, 255, 0.12)}.dark .hiero-cli-coverage-dot--yes,[data-theme=\"dark\"] .hiero-cli-coverage-dot--yes{background:#22c55e}.dark .hiero-cli-coverage-dot--partial,[data-theme=\"dark\"] .hiero-cli-coverage-dot--partial{background:#f59e0b}.dark .hiero-cli-coverage-dot--no,[data-theme=\"dark\"] .hiero-cli-coverage-dot--no{background:#f87171}.hiero-cli-coverage-heatmap-legend{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;margin:0.75rem 0 0;font-size:0.875rem}.hiero-cli-coverage-heatmap-legend>span{display:inline-flex;align-items:center;gap:6px}footer [class*=\"social\"],footer [class*=\"Social\"]{display:none!important}.ai-paths{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));column-gap:16px;row-gap:0;margin:0 0 28px}.ai-path{position:relative;min-width:0;display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;align-content:start;padding:24px 28px;border-radius:14px;overflow:hidden;color:var(--landing-fg-primary);border:1px solid rgba(255, 255, 255, 0.10);background:rgba(255, 255, 255, 0.06);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:transform 0.18s ease, box-shadow 0.18s ease}.ai-path>*{display:block;min-width:0}html:not(.dark):not([data-theme=\"dark\"]) .ai-path{background:transparent;border-color:rgba(130, 89, 239, 0.22);box-shadow:0 2px 16px rgba(130, 89, 239, 0.10), 0 1px 4px rgba(130, 89, 239, 0.06)}html:not(.dark):not([data-theme=\"dark\"]) .ai-path:hover{box-shadow:0 6px 24px rgba(130, 89, 239, 0.18), 0 2px 8px rgba(130, 89, 239, 0.10)}.ai-path::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(to right, #8259EF 0%, #5C7BFF 100%)}.ai-path:hover{transform:translateY(-2px)}.ai-path a.ai-path-link{position:static;z-index:auto;text-decoration:none}.ai-path-link::after{content:'';position:absolute;inset:0;z-index:1;border-radius:14px}.ai-path-link:focus-visible{outline:none}.ai-path-link:focus-visible::after{outline:2px solid #2D84EB;outline-offset:-2px}.ai-path>.ai-path-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}.ai-path-title{font-family:\"Styrene Regular\", sans-serif;font-size:1.5rem;font-weight:400;line-height:1.2;letter-spacing:-0.015em;color:var(--landing-fg-primary);text-decoration:none}.ai-path-pill{position:relative;z-index:2;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 14px 0 9px;border-radius:20px;border:1px solid var(--landing-pill-border);background:var(--landing-pill-bg);color:var(--landing-pill-fg);font-family:\"Styrene A Medium\", sans-serif;font-size:13px;line-height:1;white-space:nowrap;text-decoration:none}.ai-path-pill svg{width:16px;height:16px;flex:none}.ai-path>.ai-path-desc{margin:8px 0 20px;font-size:0.9375rem;line-height:1.5;color:var(--landing-fg-secondary)}.ai-path>.ai-path-btn{justify-self:start;align-self:start;display:inline-flex;align-items:center;height:42px;padding:0 20px;border-radius:999px;background:linear-gradient(90deg, #8259EF, #0031FF);color:#FFFFFF;font-family:\"Styrene Bold\", sans-serif;font-size:0.875rem;white-space:nowrap;text-decoration:none}.ai-path>.ai-cmd{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;max-width:100%;padding:5px 5px 5px 14px;border-radius:10px;border:1px solid rgba(255, 255, 255, 0.12);background:rgba(0, 0, 0, 0.35)}html:not(.dark):not([data-theme=\"dark\"]) .ai-path>.ai-cmd{border-color:rgba(17, 21, 29, 0.12);background:rgba(17, 21, 29, 0.04)}.ai-cmd-text{flex:1 1 auto;min-width:0;white-space:nowrap;padding:0;border:0;background:none;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:0.875rem;color:var(--landing-fg-primary)}.ai-path>.ai-cmd--prompt{flex-wrap:nowrap}.ai-cmd--prompt .ai-cmd-text{white-space:normal;overflow-wrap:break-word;font-family:inherit;font-size:0.875rem;line-height:1.4}.ai-cmd-url{white-space:nowrap}.ai-cmd-prompt{margin-right:8px;color:#AE93F5}html:not(.dark):not([data-theme=\"dark\"]) .ai-cmd-prompt{color:#6B42CC}.ai-cmd-copy{flex:none;margin-left:auto;padding:8px 16px;border:0;border-radius:7px;background:linear-gradient(90deg, #8259EF, #0031FF);color:#FFFFFF;font-family:\"Styrene Bold\", sans-serif;font-size:0.8125rem;line-height:1.2;cursor:pointer}.ai-cmd-copy:focus-visible,.ai-path-pill:focus-visible,.ai-path-more a:focus-visible{outline:2px solid #2D84EB;outline-offset:2px}.ai-path>.ai-path-more{position:relative;z-index:2;justify-self:start;margin-top:10px;font-size:0.8125rem;line-height:1.45;color:var(--landing-fg-secondary)}.ai-path-more a{color:var(--landing-fg-primary);text-decoration:underline;text-decoration-color:#8259EF;text-underline-offset:3px}html:not(.dark):not([data-theme=\"dark\"]) .ai-path-more a{color:#6B42CC;text-decoration-color:rgba(107, 66, 204, 0.55)}@media (prefers-reduced-motion: reduce){.ai-path{transition:none}.ai-path:hover{transform:none}}@media (max-width: 900px){.ai-paths{grid-template-columns:minmax(0, 1fr)}.ai-path+.ai-path{margin-top:12px}}@media (max-width: 480px){.ai-path{padding:22px 20px 20px}.ai-path-title{font-size:1.375rem}.ai-path>.ai-cmd{gap:8px 10px;padding-left:12px}.ai-cmd-prompt{margin-right:6px}.ai-cmd-text{font-size:0.75rem}.ai-cmd--prompt .ai-cmd-text{font-size:0.8125rem}.ai-path>.ai-cmd--prompt{flex-wrap:wrap}}"}],"page":{"pagePath":"native/keys/key-list","slug":"/native/keys/key-list","pageMetadata":{"title":"Create a key list","description":"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.","href":"/native/keys/key-list"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Create a key list key structure where all the keys in the list are required to sign transactions that modify accounts, topics, tokens, smart contracts, or files. A key list can contain a `,_jsx(_components.a,{href:`/native/keys/generate-key-pair#ed25519`,children:`Ed25519`}),` or `,_jsx(_components.a,{href:`/native/keys/generate-key-pair#ecdsa-secp256k1`,children:`ECDSA`}),` (secp256k1_)_ key type.`]}),`\n`,_jsx(_components.p,{children:`If all the keys in the key list key structure do not sign, the transaction will fail and return an “INVALID_SIGNATURE” error. A key list can have repeated keys. A signature for the repeated key will count as many times as the key is listed in the key list. For example, a key list has three keys. Two of the three public keys in the list are the same. When a user signs a transaction with the repeated key it will account for two out of the three keys required signature.`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{}),_jsx(`th`,{}),_jsx(`th`,{})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(`strong`,{children:`Method`})}),_jsx(`td`,{children:_jsx(`strong`,{children:`Type`})}),_jsx(`td`,{children:_jsx(`strong`,{children:`Description`})})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(`code`,{children:`KeyList.of(\u003ckeys>)`})}),_jsx(`td`,{children:`Key`}),_jsx(`td`,{children:`Keys to add to the key list`})]})]})]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Java`,id:`java`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Generate 3 keys`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`PublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` publicKey1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getPublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key2`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`PublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` publicKey2`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getPublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key3`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`PublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` publicKey3`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getPublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create a key list where all 3 keys are required to sign`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`KeyList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` keyStructure`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` KeyList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(key1, key2, key3);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`System`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`println`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(keyStructure)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//v2.0.0`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Sample Output`})}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`KeyList{threshold=null, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` keys=[302e020100300506032b6570042204201cd556de918842179791d9edd75cdd2b5d34c5c73b0239ec0b34c67eedc020fd, 302e020100300506032b6570042204209ca1ce4463b71c72bba0219c37e18347a5145a9797c6546a6c99e50255c54be3, 302e020100300506032b657004220420982bb43f4947e8376e2f0ebfde086d24323b04d731da29446e5bc399ffbe06e1]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsx(Tab,{title:`JavaScript`,id:`javascript`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Generate 3 keys`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` key1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` publicKey1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` key2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` publicKey2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` key3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` publicKey3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create a list of the keys`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` publicKeyList `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [];`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publicKeyList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(publicKey1);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publicKeyList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(publicKey2);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publicKeyList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(publicKey3);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create a key list where all 3 keys are required to sign`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` keys `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` KeyList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(publicKeyList);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//v2.0.13`})}),`\n`]})})})}),_jsx(Tab,{title:`Go`,id:`go`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`37`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`37`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Generate 3 keys`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`key1, err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hedera`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GeneratePrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nil {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` panic`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(err)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`publicKey1, err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`PublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`key2, err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hedera`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GeneratePrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nil {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` panic`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(err)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`publicKey2, err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`PublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`key3, err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hedera`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GeneratePrivateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nil {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` panic`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(err)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`publicKey3, err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`PublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create a key list where all 3 keys are required to sign`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`keys `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` make`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([]`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`hedera`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PublicKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`keys[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` publicKey1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`keys[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` publicKey2`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`keys[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` publicKey3`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`keyStructure `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hedera`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`NewKeyList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`AddAllPublicKeys`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(keys)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fmt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Printf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The key list is %v`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, keyStructure) `})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//v2.0.0`})}),`\n`]})})})}),_jsx(Tab,{title:`Rust`,id:`rust`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`rust`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`rust`,children:_jsxs(_components.code,{language:`rust`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key_list`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` KeyList`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`::`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`println!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The key list is {:?}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`key_list`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// v0.34.0`})}),`\n`]})})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a key list","description":"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.","href":"/native/keys/key-list"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"hedera-0c6e0218","siteName":"Hedera","title":"Create a key list - Hedera","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-03T19:16:56.990Z","originalFileLocation":"native/keys/key-list.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hedera\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a key list - Hedera\">\u003cmeta data-mint-head property=\"og:description\" content=\"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hedera\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hedera.com/native/keys/key-list\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hedera-0c6e0218.mintlify.site/_mintlify/api/og/v2?division=Keys\u0026amp;title=Create+a+key+list\u0026amp;description=Build+a+key+list+with+the+SDK+so+every+key+in+the+list+must+sign+to+modify+an+account%2C+topic%2C+token%2C+contract%2C+or+file%2C+using+Ed25519+or+ECDSA+keys.\u0026amp;theme=72e1fe5187eda2d3bc384ae1\u0026amp;signature=81d7720cb8d1ba08373dad792ca21a3a0048d147cc2163b9dd45ddd17e9c616a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a key list - Hedera\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hedera-0c6e0218.mintlify.site/_mintlify/api/og/v2?division=Keys\u0026amp;title=Create+a+key+list\u0026amp;description=Build+a+key+list+with+the+SDK+so+every+key+in+the+list+must+sign+to+modify+an+account%2C+topic%2C+token%2C+contract%2C+or+file%2C+using+Ed25519+or+ECDSA+keys.\u0026amp;theme=72e1fe5187eda2d3bc384ae1\u0026amp;signature=81d7720cb8d1ba08373dad792ca21a3a0048d147cc2163b9dd45ddd17e9c616a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hedera\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8259EF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hedera.com/native/keys/key-list\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/native/keys/key-list.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hedera.com/#organization\",\"name\":\"Hedera\",\"url\":\"https://docs.hedera.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hedera-0c6e0218/Ec8wSwt_B0k46eSv/logo/light.svg?fit=max\u0026auto=format\u0026n=Ec8wSwt_B0k46eSv\u0026q=85\u0026s=6bee8431a7ed0bac7986314e2468c493\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hedera.com#website\",\"name\":\"Hedera\",\"url\":\"https://docs.hedera.com\",\"publisher\":{\"@id\":\"https://docs.hedera.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hedera.com/native/keys/key-list#webpage\",\"url\":\"https://docs.hedera.com/native/keys/key-list\",\"name\":\"Create a key list\",\"description\":\"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.\",\"dateModified\":\"2026-09-03T19:16:56.990Z\",\"isPartOf\":{\"@id\":\"https://docs.hedera.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hedera.com/native/keys/key-list#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hedera.com/native/keys/key-list#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Keys\",\"item\":\"https://docs.hedera.com/native/keys/generate-key-pair\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a key list\",\"item\":\"https://docs.hedera.com/native/keys/key-list\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hedera.com/native/keys/key-list#article\",\"headline\":\"Create a key list\",\"name\":\"Create a key list\",\"description\":\"Build a key list with the SDK so every key in the list must sign to modify an account, topic, token, contract, or file, using Ed25519 or ECDSA keys.\",\"url\":\"https://docs.hedera.com/native/keys/key-list\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hedera.com/native/keys/key-list#webpage\"},\"dateModified\":\"2026-09-03T19:16:56.990Z\",\"publisher\":{\"@id\":\"https://docs.hedera.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hedera.com#website\"}}]}\u003c/script>","agentPointerHref":"/native/keys/key-list.md","siteName":"Hedera","nav":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"http://status.hedera.com/"},{"anchor":"Discord","icon":"discord","href":"https://hedera.com/discord"},{"anchor":"Playground","icon":"code","href":"https://portal.hedera.com/playground"},{"anchor":"Blog","icon":"newspaper","href":"https://hedera.com/blog"}]},"tabs":[{"tab":"Learn","icon":"graduation-cap","pages":[{"title":"Learn","href":"/learn"}]},{"tab":"Networks","icon":"network-wired","pages":[{"title":"Networks","href":"/networks"}]},{"tab":"EVM Developers","icon":"ethereum","pages":[{"title":"EVM Developers","href":"/evm"}]},{"tab":"Native SDKs","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Native SDKs","mode":"wide","href":"/native"}]},{"group":"Quickstart","pages":[{"title":"JavaScript Quickstart","href":"/native/quickstart/javascript"},{"title":"Java Quickstart","href":"/native/quickstart/java"},{"title":"Go Quickstart","href":"/native/quickstart/go"}]},{"group":"SDK Fundamentals","pages":[{"title":"SDKs","href":"/native/fundamentals/index"},{"title":"Hedera Client","href":"/native/fundamentals/client"},{"title":"Local Network","href":"/native/fundamentals/local-network"},{"title":"Network Address Book","href":"/native/fundamentals/address-book"},{"title":"HBAR","href":"/native/fundamentals/hbars"},{"title":"Specialized Types","href":"/native/fundamentals/specialized-types"}]},{"group":"Keys","pages":[{"title":"Generate a new key pair","href":"/native/keys/generate-key-pair"},{"title":"Import an existing key","description":"Import existing keys into the SDK from strings, bytes, or PEM files, for both ECDSA and Ed25519 key types, to construct PrivateKey and PublicKey objects.","href":"/native/keys/import-key"},{"title":"Create a key list","href":"/native/keys/key-list"},{"title":"Create a threshold key","description":"Create a threshold key with the SDK that requires a set number of keys in the list to sign, using Ed25519 or ECDSA keys, for M-of-N signing.","href":"/native/keys/threshold-key"},{"title":"Generate a mnemonic phrase","href":"/native/keys/mnemonic-generate"},{"title":"Recover keys from a mnemonic phrase","href":"/native/keys/mnemonic-recover"}]},{"group":"Transactions","pages":[{"title":"Transactions","href":"/native/transactions/index"},{"title":"Transaction ID","href":"/native/transactions/transaction-id"},{"title":"Modify transaction fields","href":"/native/transactions/modify-fields"},{"title":"Create an unsigned transaction","href":"/native/transactions/unsigned"},{"title":"Manually sign a transaction","href":"/native/transactions/manual-sign"},{"title":"Submit a transaction","href":"/native/transactions/submit"},{"title":"Sign a multisignature transaction","href":"/native/transactions/multisig"},{"title":"Get a transaction receipt","href":"/native/transactions/receipt"},{"title":"Get a transaction record","href":"/native/transactions/record"},{"title":"Create a Batch Transaction","href":"/native/transactions/batch"}]},{"group":"Queries","pages":[{"title":"Queries","href":"/native/queries"},{"title":"Pseudorandom Number Generator","href":"/native/prng"}]},{"group":"Fees","pages":[{"title":"Estimating Fees with the SDK","sidebarTitle":"Estimate a fee","href":"/native/fees/fee-estimation"}]},{"group":"Accounts","pages":[{"title":"Create an account","href":"/native/accounts/create"},{"title":"Update an account","href":"/native/accounts/update"},{"title":"Transfer cryptocurrency","href":"/native/accounts/transfer"},{"title":"Approve an allowance","href":"/native/accounts/approve-allowance"},{"title":"Delete an allowance","href":"/native/accounts/adjust-allowance"},{"title":"Delete an account","href":"/native/accounts/delete"},{"title":"Get account balance","href":"/native/accounts/get-balance"},{"title":"Get account info","href":"/native/accounts/get-info"},{"title":"Network Response Messages","href":"/native/accounts/errors"}]},{"group":"Token Service","pages":[{"title":"Token ID","href":"/native/tokens/token-id"},{"title":"NFT ID","href":"/native/tokens/nft-id"},{"title":"Token types","href":"/native/tokens/token-types"},{"title":"Create a token","href":"/native/tokens/define"},{"title":"Custom token fees","href":"/native/tokens/custom-fees"},{"title":"Update a token","href":"/native/tokens/update"},{"title":"Update token custom fees","href":"/native/tokens/update-fee-schedule"},{"title":"Update NFT metadata","href":"/native/tokens/update-nft-metadata"},{"title":"Transfer tokens","href":"/native/tokens/transfer"},{"title":"Airdrop a token","href":"/native/tokens/airdrop"},{"title":"Claim a token","href":"/native/tokens/claim"},{"title":"Cancel a token","href":"/native/tokens/cancel"},{"title":"Reject a token","href":"/native/tokens/reject-airdrop"},{"title":"Delete a token","href":"/native/tokens/delete"},{"title":"Mint a token","href":"/native/tokens/mint"},{"title":"Burn a token","href":"/native/tokens/burn"},{"title":"Freeze an account","href":"/native/tokens/freeze"},{"title":"Unfreeze an account","href":"/native/tokens/unfreeze"},{"title":"Enable KYC account flag","href":"/native/tokens/enable-kyc"},{"title":"Disable KYC account flag","href":"/native/tokens/disable-kyc"},{"title":"Associate tokens to an account","href":"/native/tokens/associate"},{"title":"Dissociate tokens from an account","href":"/native/tokens/dissociate"},{"title":"Pause a token","href":"/native/tokens/pause"},{"title":"Unpause a token","href":"/native/tokens/unpause"},{"title":"Wipe a token","href":"/native/tokens/wipe"},{"title":"Atomic swaps","href":"/native/tokens/atomic-swaps"},{"title":"Get account token balance","href":"/native/tokens/get-balance"},{"title":"Get token info","href":"/native/tokens/get-info"},{"title":"Get NFT info","href":"/native/tokens/get-nft-info"},{"title":"Network Response Messages","href":"/native/tokens/errors"}]},{"group":"Consensus Service","pages":[{"title":"Create a topic","href":"/native/consensus/create-topic"},{"title":"Update a topic","href":"/native/consensus/update-topic"},{"title":"Submit a message","href":"/native/consensus/submit-message"},{"title":"Delete a topic","href":"/native/consensus/delete-topic"},{"title":"Get topic messages","href":"/native/consensus/get-message"},{"title":"Get topic info","href":"/native/consensus/get-info"},{"title":"Network Response","href":"/native/consensus/errors"}]},{"group":"File Service","pages":[{"title":"Create a file","href":"/native/files/create"},{"title":"Append to a file","href":"/native/files/append"},{"title":"Update a file","href":"/native/files/update"},{"title":"Delete a file","href":"/native/files/delete"},{"title":"Get file contents","href":"/native/files/get-contents"},{"title":"Get file info","href":"/native/files/get-info"},{"title":"Network Response Messages","href":"/native/files/errors"}]},{"group":"Scheduled Transactions","pages":[{"title":"Schedule ID","href":"/native/scheduled/schedule-id"},{"title":"Create a schedule transaction","href":"/native/scheduled/create"},{"title":"Sign a scheduled transaction","href":"/native/scheduled/sign"},{"title":"Delete a schedule transaction","href":"/native/scheduled/delete"},{"title":"Get schedule info","href":"/native/scheduled/get-info"},{"title":"Network Response Messages","href":"/native/scheduled/response-messages"}]},{"group":"Smart Contracts","pages":[{"title":"Delegate Contract ID","href":"/native/smart-contracts/delegate-contract-id"},{"title":"Create a smart contract","href":"/native/smart-contracts/create"},{"title":"Update a smart contract","href":"/native/smart-contracts/update"},{"title":"Delete a smart contract","href":"/native/smart-contracts/delete"},{"title":"Call a smart contract function","href":"/native/smart-contracts/call"},{"title":"Ethereum transaction","href":"/native/smart-contracts/ethereum-transaction"},{"title":"Get a smart contract function","href":"/native/smart-contracts/get-function"},{"title":"Get smart contract bytecode","href":"/native/smart-contracts/get-bytecode"},{"title":"Get smart contract info","href":"/native/smart-contracts/get-info"},{"title":"Hedera Service Solidity Libraries","href":"/native/smart-contracts/solidity-libraries"},{"title":"Network Response Messages","href":"/native/smart-contracts/errors"}]},{"group":"Signature Provider","pages":[{"title":"Provider","href":"/native/signature-provider/provider"},{"title":"Signer","href":"/native/signature-provider/signer"},{"title":"Wallet","href":"/native/signature-provider/wallet"},{"title":"Local Provider","href":"/native/signature-provider/local-provider"}]},{"group":"Tutorials","pages":[{"group":"Getting Started","pages":[{"title":"Create and Fund Your Hedera Testnet Account","href":"/native/tutorials/getting-started/create-fund-account"},{"title":"How to Create a Personal Access Token (API Key) on the Hedera Portal","sidebarTitle":"Create an API Key","href":"/native/tutorials/getting-started/create-api-key"},{"title":"Auto-Create Hedera Accounts with HBAR and Token Transfers","sidebarTitle":"Auto-Create Accounts","href":"/native/tutorials/getting-started/auto-create-accounts"}]},{"group":"Tokens","pages":[{"title":"Create a Token","href":"/native/tutorials/tokens/create-first-token"},{"title":"Create and Transfer Your First NFT","href":"/native/tutorials/tokens/create-transfer-nft"},{"title":"Create and Transfer Your First Fungible Token","href":"/native/tutorials/tokens/create-transfer-fungible"},{"title":"Structure Your Token Metadata Using JSON Schema V2","href":"/native/tutorials/tokens/metadata-schema"},{"title":"Hedera Token Service - Part 1: How to Mint NFTs","sidebarTitle":"HTS Part 1: Mint NFTs","href":"/native/tutorials/tokens/hts-part1-mint"},{"title":"Hedera Token Service - Part 2: KYC, Update, and Scheduled Transactions","sidebarTitle":"HTS Part 2: KYC \u0026 Update","href":"/native/tutorials/tokens/hts-part2-kyc"},{"title":"Hedera Token Service - Part 3: How to Pause, Freeze, Wipe, and Delete NFTs","sidebarTitle":"HTS Part 3: Admin Keys","href":"/native/tutorials/tokens/hts-part3-admin"},{"title":"Create Your First Frictionless Airdrop Campaign","href":"/native/tutorials/tokens/airdrop-campaign"}]},{"group":"Consensus","pages":[{"title":"Create a Topic","href":"/native/tutorials/consensus/create-first-topic"},{"title":"Submit Your First Message","href":"/native/tutorials/consensus/submit-first-message"},{"title":"Submit Message to Private Topic","href":"/native/tutorials/consensus/private-topic"},{"title":"Batch, anchor, and verify records with HCS","href":"/native/tutorials/consensus/batch-anchor-verify"},{"title":"Query Messages with Mirror Node","href":"/native/tutorials/consensus/query-mirror-node"}]},{"group":"Scheduled","pages":[{"title":"Schedule Your First Transaction","href":"/native/tutorials/scheduled/schedule-first"}]},{"group":"Advanced","pages":[{"title":"How to Generate a Random Number on Hedera","sidebarTitle":"Generate a Random Number","href":"/native/tutorials/advanced/random-number"},{"title":"How to Configure a Mirror Node and Query Data","sidebarTitle":"Configure a Mirror Node","href":"/native/tutorials/advanced/configure-mirror-node"},{"title":"JavaScript Testing","href":"/native/tutorials/advanced/javascript-testing"},{"title":"Create a Hedera DApp Integrated with WalletConnect","href":"/native/tutorials/advanced/walletconnect-dapp"},{"title":"Building on Hedera (course)","url":"https://hashgraphdev.com/?code=docs.hedera.com","href":"/native/tutorials/advanced/hashgraphdev"},{"group":"HSM Signing","pages":[{"title":"HSM/KMS Signing Solutions","sidebarTitle":"HSM Signing","href":"/native/tutorials/advanced/hsm-signing/index"},{"title":"Sign Hedera Transactions with AWS KMS","href":"/native/tutorials/advanced/hsm-signing/aws-kms"},{"title":"Sign Hedera Transactions with Azure Key Vault","href":"/native/tutorials/advanced/hsm-signing/azure-key-vault"},{"title":"Sign Hedera Transactions with Google Cloud HSM","href":"/native/tutorials/advanced/hsm-signing/gcp-kms"}]},{"group":"HCS Fabric Plugin","pages":[{"title":"Get Started with the Hedera Consensus Service Fabric Plugin","sidebarTitle":"HCS Fabric Plugin","href":"/native/tutorials/advanced/hcs-fabric-plugin/index"},{"title":"Virtual Environment Setup","href":"/native/tutorials/advanced/hcs-fabric-plugin/virtual-environment"}]}]},{"title":"More Tutorials","href":"/native/tutorials/more/index"}]},{"group":"Local Development","pages":[{"title":"Local Development","sidebarTitle":"Solo Overview","href":"/native/local-dev/index"},{"title":"Set Up a Local Network Using the Solo CLI","sidebarTitle":"Solo CLI Setup","href":"/native/local-dev/setup-cli-npm"}]}]},{"tab":"Solutions","icon":"lightbulb","pages":[{"title":"Solutions","href":"/solutions"}]},{"tab":"Operators","icon":"server","pages":[{"title":"Operators","href":"/operators"}]},{"tab":"Reference","icon":"book","pages":[{"title":"Reference","href":"/reference"}]},{"tab":"Support","icon":"circle-question","pages":[{"title":"Support","href":"/support"}]}]},"basePath":"","title":"Create a key list - Hedera","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}