feat(arweave): ECDSA-only HD derivation (coin 472) - #51
Merged
Conversation
Add kobe-arweave for offline BIP-44 secp256k1 derivation at
m/44'/472'/0'/0/{i}. Address is Base64URL(SHA-256(compressed 33-byte
pubkey)), matching ar_wallet and arweave-js master-ec. Wire umbrella
feature, CLI (arweave/ar), CI no_std, crates.io publish order, docs,
and CONTRIBUTING chain registration matrix. Workspace 3.4.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kobe-arweave: ECDSA-only offline HD (SLIP-44 472), pathm/44'/472'/0'/0/{i}ar_wallet(ECDSA_PUB_KEY_SIZE = 33) and arweave-jsmaster-ecidentifier hashaddress_from_compressed_pubkey,owner_from_compressed_pubkey(recovered owner when txowneris empty)kobe arweave/kobe ar(new/import)arweaveinall-chains(notmainstream)Protocol
m/44'/472'/0'/0/{i}G3y00z9F3EvSzJprpIH6vPqHVZPH0rLqLrg0JOsd88Ys67JULQPjY6wpxYV4imfx_Ui6twtC_jfxnluJT4GOSoSources: ECDSA Keys,
ar_wallet.erl, arweave-jsorigin/master-ec.Test plan
cargo test -p kobe-arweave(KATs + uncompressed negative)cargo test -p kobe --all-features --test cross_chain_smokecargo test --workspace --all-featurescargo deny check(advisories/bans/licenses/sources)check-no-stdincludeskobe-arweavekobe arweave import -m "abandon…about" --json→ KAT address