All Projects → ethereumjs → Ethereumjs Wallet

ethereumjs / Ethereumjs Wallet

Licence: mit
Utilities for handling Ethereum keys

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ethereumjs Wallet

Edge React Gui
Edge Wallet React Native GUI for iOS and Android
Stars: ✭ 303 (-53.6%)
Mutual labels:  ethereum, wallet
Lunary Ethereum Wallet
A beautiful, secure and native Ethereum Wallet for Android
Stars: ✭ 348 (-46.71%)
Mutual labels:  ethereum, wallet
Web3j Sample
web3j 样例程序
Stars: ✭ 317 (-51.45%)
Mutual labels:  ethereum, wallet
Safe Contracts
Gnosis Safe allows secure management of blockchain assets.
Stars: ✭ 282 (-56.81%)
Mutual labels:  ethereum, wallet
Ethereumkit
EthereumKit is a free, open-source Swift framework for easily interacting with the Ethereum.
Stars: ✭ 400 (-38.74%)
Mutual labels:  ethereum, wallet
Parity Signer
Air-gapped crypto wallet.
Stars: ✭ 286 (-56.2%)
Mutual labels:  ethereum, wallet
My Wallet V3
Blockchain Web Wallet Library - https://support.blockchain.com
Stars: ✭ 342 (-47.63%)
Mutual labels:  ethereum, wallet
Walletconnect Monorepo
WalletConnect Monorepo
Stars: ✭ 230 (-64.78%)
Mutual labels:  ethereum, wallet
Ledgerjs
Ledger's JavaScript libraries
Stars: ✭ 397 (-39.2%)
Mutual labels:  ethereum, wallet
Upchain Wallet
以太坊钱包(支持DApp 浏览器)- A Powerful Ethereum Android Wallet & DApp Browser
Stars: ✭ 359 (-45.02%)
Mutual labels:  ethereum, wallet
Etherswallet Ios
Ethereum Wallet and Dapp Browser for iOS.
Stars: ✭ 281 (-56.97%)
Mutual labels:  ethereum, wallet
Web3swift
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions on Ethereum network.
Stars: ✭ 462 (-29.25%)
Mutual labels:  ethereum, wallet
Weiwallet Ios
Wei Wallet is an open source Ethereum wallet for iOS
Stars: ✭ 271 (-58.5%)
Mutual labels:  ethereum, wallet
Status React
a free (libre) open source, mobile OS for Ethereum
Stars: ✭ 3,307 (+406.43%)
Mutual labels:  ethereum, wallet
Celo Monorepo
Official repository for core projects comprising the Celo platform
Stars: ✭ 269 (-58.81%)
Mutual labels:  ethereum, wallet
Awesome Coins
₿ A guide (for humans!) to cryto-currencies and their algos.
Stars: ✭ 3,469 (+431.24%)
Mutual labels:  ethereum, wallet
Emerald Wallet
Emerald Wallet
Stars: ✭ 198 (-69.68%)
Mutual labels:  ethereum, wallet
Multisigwallet
Ethereum MultiSigWallet
Stars: ✭ 230 (-64.78%)
Mutual labels:  ethereum, wallet
My Wallet V3 Android
Blockchain Android Wallet
Stars: ✭ 356 (-45.48%)
Mutual labels:  ethereum, wallet
Burner Wallet
🔥👛Burner Wallet to move crypto quickly in a web browser. Sweep to cold storage when you get home. 🏠👨🏻‍🚒
Stars: ✭ 448 (-31.39%)
Mutual labels:  ethereum, wallet

ethereumjs-wallet

NPM Package Actions Status Coverage Status Discord

A lightweight wallet implementation. At the moment it supports key creation and conversion between various formats.

It is complemented by the following packages:

Motivations are:

  • be lightweight
  • work in a browser
  • use a single, maintained version of crypto library (and that should be in line with ethereumjs-util and ethereumjs-tx)
  • support import/export between various wallet formats
  • support BIP32 HD keys

Features not supported:

  • signing transactions
  • managing storage (neither in node.js or the browser)

Wallet API

For information about the Wallet's API, please go to ./docs/classes/wallet.md.

You can import the Wallet class like this

Node.js / ES5:

const { Wallet } = require('ethereumjs-wallet')

ESM / TypeScript:

import { Wallet } from 'ethereumjs-wallet'

Thirdparty API

Importing various third party wallets is possible through the thirdparty submodule:

Node.js / ES5:

const { thirdparty } = require('ethereumjs-wallet')

ESM / TypeScript:

import { thirdparty } from 'ethereumjs-wallet'

Please go to ./docs/README.md for more info.

HD Wallet API

To use BIP32 HD wallets, first include the hdkey submodule:

Node.js / ES5:

const { hdkey } = require('ethereumjs-wallet')

ESM / TypeScript:

import { hdkey } from 'ethereumjs-wallet'

Please go to ./docs/classes/ethereumhdkey.md for more info.

Provider Engine

Provider Engine is not very actively maintained and support has been removed along v1.0.0 release, see issue #115 for context.

You can use the the old src/provider-engine.ts code (see associated PR) as some boilerplate for your own integration if needed.

Remarks about toV3

The options is an optional object hash, where all the serialization parameters can be fine tuned:

  • uuid - UUID. One is randomly generated.
  • salt - Random salt for the kdf. Size must match the requirements of the KDF (key derivation function). Random number generated via crypto.getRandomBytes if nothing is supplied.
  • iv - Initialization vector for the cipher. Size must match the requirements of the cipher. Random number generated via crypto.getRandomBytes if nothing is supplied.
  • kdf - The key derivation function, see below.
  • dklen - Derived key length. For certain cipher settings, this must match the block sizes of those.
  • cipher - The cipher to use. Names must match those of supported by OpenSSL, e.g. aes-128-ctr or aes-128-cbc.

Depending on the kdf selected, the following options are available too.

For pbkdf2:

  • c - Number of iterations. Defaults to 262144.
  • prf - The only supported (and default) value is hmac-sha256. So no point changing it.

For scrypt:

  • n - Iteration count. Defaults to 262144.
  • r - Block size for the underlying hash. Defaults to 8.
  • p - Parallelization factor. Defaults to 1.

The following settings are favoured by the Go Ethereum implementation and we default to the same:

  • kdf: scrypt
  • dklen: 32
  • n: 262144
  • r: 8
  • p: 1
  • cipher: aes-128-ctr

EthereumJS

See our organizational documentation for an introduction to EthereumJS as well as information on current standards and best practices.

If you want to join for work or do improvements on the libraries have a look at our contribution guidelines.

License

MIT License

Copyright (C) 2016 Alex Beregszaszi

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].