All Projects → foxnut → go-hdwallet

foxnut / go-hdwallet

Licence: MIT license
A multi-cryptocurrency HD wallet implementated by Golang.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-hdwallet

project-icarus-chrome
Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Stars: ✭ 32 (-53.62%)
Mutual labels:  wallet
polkawallet-flutter
Replace to: https://github.com/polkawallet-io/app
Stars: ✭ 107 (+55.07%)
Mutual labels:  wallet
wallet-address-validator
Useful library for validation of Bitcoin, Litecoin, Ethereum and other cryptocoin addresses
Stars: ✭ 240 (+247.83%)
Mutual labels:  wallet
nanook
Ruby library for making and receiving payments and managing a nano currency node
Stars: ✭ 17 (-75.36%)
Mutual labels:  wallet
DAPSCoin
DAPS is the world's first coin to implement Bulletproofs and RingCT & Ring Signatures in a staking chain. With DAPS it is possible to stake, run masternodes and mine PoA blocks.
Stars: ✭ 58 (-15.94%)
Mutual labels:  wallet
Pancakeswap Sniper
Barret 50 Cal. is a Pancakeswap sniping (front-runner) bot. It can be used to snipe in new coin listings, and obtain the best prices; or to place limit-buy and limit-sell orders.
Stars: ✭ 64 (-7.25%)
Mutual labels:  wallet
kukai
Web wallet for the Tezos blockchain
Stars: ✭ 157 (+127.54%)
Mutual labels:  wallet
smrepl
A Spacemesh Terminal wallet app
Stars: ✭ 16 (-76.81%)
Mutual labels:  wallet
EOSWallet
🔐EOS Wallet: Manage your EOS accounts with steroids :)
Stars: ✭ 36 (-47.83%)
Mutual labels:  wallet
asgardex-electron
||| ASGARDEX Electron App ||| desktop wallet and decentralized exchange for THORChain ||| 100% open-source
Stars: ✭ 93 (+34.78%)
Mutual labels:  wallet
station
station.terra.money
Stars: ✭ 53 (-23.19%)
Mutual labels:  wallet
clorio-client
💰 A Mina Protocol Wallet - The most used Mina Protocol wallet.
Stars: ✭ 49 (-28.99%)
Mutual labels:  wallet
evian
www.balletcrypto.org/
Stars: ✭ 21 (-69.57%)
Mutual labels:  wallet
Codeigniter-blockchain
A library to use the Blockchain Wallet API: https://blockchain.info/api/blockchain_wallet_api
Stars: ✭ 19 (-72.46%)
Mutual labels:  wallet
lightning-browser-extension
The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
Stars: ✭ 194 (+181.16%)
Mutual labels:  wallet
ethereum-wallet-comparison
💰 Ethereum Wallet Comparison
Stars: ✭ 51 (-26.09%)
Mutual labels:  wallet
RavenCoin-Wallet-With-Miners
RavenCoin Wallet including CPU and GPU miners! programs are directly from Ravencoin and official miner sources
Stars: ✭ 75 (+8.7%)
Mutual labels:  wallet
sako
A self-hosted Monero web-interface.
Stars: ✭ 30 (-56.52%)
Mutual labels:  wallet
filsnap
MetaMask snap for interacting with Filecoin dapps.
Stars: ✭ 60 (-13.04%)
Mutual labels:  wallet
cryptowallet-cli
CW is a crypto wallet generator CLI tool for a lot of blockchains: Bitcoin, Ethereum, Binance Smart Chain and many others
Stars: ✭ 45 (-34.78%)
Mutual labels:  wallet

go-hdwallet

A multi-cryptocurrency HD wallet implementated by golang.

supported coins

  • BTC
  • LTC
  • DOGE
  • DASH
  • ETH
  • ETC
  • BCH
  • QTUM
  • USDT
  • IOST
  • USDC

install

go get -v -u github.com/foxnut/go-hdwallet

example

package main

import (
    "fmt"

    "github.com/foxnut/go-hdwallet"
)

var (
    mnemonic = "range sheriff try enroll deer over ten level bring display stamp recycle"
)

func main() {
    master, err := hdwallet.NewKey(
        hdwallet.Mnemonic(mnemonic),
    )
    if err != nil {
        panic(err)
    }

    // BTC: 1AwEPfoojHnKrhgt1vfuZAhrvPrmz7Rh4
    wallet, _ := master.GetWallet(hdwallet.CoinType(hdwallet.BTC), hdwallet.AddressIndex(1))
    address, _ := wallet.GetAddress()
    addressP2WPKH, _ := wallet.GetKey().AddressP2WPKH()
    addressP2WPKHInP2SH, _ := wallet.GetKey().AddressP2WPKHInP2SH()
    fmt.Println("BTC: ", address, addressP2WPKH, addressP2WPKHInP2SH)

    // BCH: 1CSBT18sjcCwLCpmnnyN5iqLc46Qx7CC91
    wallet, _ = master.GetWallet(hdwallet.CoinType(hdwallet.BCH))
    address, _ = wallet.GetAddress()
    addressBCH, _ := wallet.GetKey().AddressBCH()
    fmt.Println("BCH: ", address, addressBCH)

    // LTC: LLCaMFT8AKjDTvz1Ju8JoyYXxuug4PZZmS
    wallet, _ = master.GetWallet(hdwallet.CoinType(hdwallet.LTC))
    address, _ = wallet.GetAddress()
    fmt.Println("LTC: ", address)

    // DOGE: DHLA3rJcCjG2tQwvnmoJzD5Ej7dBTQqhHK
    wallet, _ = master.GetWallet(hdwallet.CoinType(hdwallet.DOGE))
    address, _ = wallet.GetAddress()
    fmt.Println("DOGE:", address)

    // ETH: 0x37039021cBA199663cBCb8e86bB63576991A28C1
    wallet, _ = master.GetWallet(hdwallet.CoinType(hdwallet.ETH))
    address, _ = wallet.GetAddress()
    fmt.Println("ETH: ", address)

    // ETC: 0x480C69E014C7f018dAbF17A98273e90f0b0680cf
    wallet, _ = master.GetWallet(hdwallet.CoinType(hdwallet.ETC))
    address, _ = wallet.GetAddress()
    fmt.Println("ETC: ", address)
}
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].