
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
arweave-mnemonic-keys
Advanced tools
This library allows Arweave wallets/keys to be generated/loaded from BIP39-compliant 12 word mnemonics. This is as an alternative to the current default Arweave dapp behavior of requiring a JSON keyfile to be provided to sign transactions and interact with Arweave dapps.
See ArMob 2.0 for an example use case
This package is also served through OpenBits (http://openbits.world)
Note: It takes anywhere from 30 seconds to 2 minutes to generate an RSA key using this library cuz well...Javascript can be slow.
# npm
npm install arweave-mnemonic-keys
# openbits
openbits install arweave-mnemonic-keys
▸ generateMnemonic(): Promise‹any›
Defined in arweaveMnemonicKeys.ts:8
Generate a 12 word mnemonic for an Arweave key
Returns: Promise‹any›
▸ getKeyFromMnemonic(mnemonic
: string): Promise‹any›
Defined in arweaveMnemonicKeys.ts:30
Generates a JWK object representation of an Arweave key
example
Generate an Arweave key and get its public address
let key = getKeyFromMnemonic('jewel cave spy act loyal solid night manual joy select mystery unhappy')
arweave.wallets.jwkToAddress(key)
//returns qe741op_rt-iwBazAqJipTc15X8INlDCoPz6S40RBdg
Parameters:
Name | Type | Description |
---|---|---|
mnemonic | string | a 12 word mnemonic represented as a string |
Returns: Promise‹any›
0.0.9 (2021-02-10)
FAQs
Utilities for generating Arweave Keys without keyfiles
The npm package arweave-mnemonic-keys receives a total of 89 weekly downloads. As such, arweave-mnemonic-keys popularity was classified as not popular.
We found that arweave-mnemonic-keys demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.