go-bitcoin

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2019 License: MIT

README

go-bitcoin

Wallet functionalities handling BTC, BCH and so on. Currencies would be added step by step.

Structures

This is explained for BTC for now. There are mainly 3 wallets separately.

Watch only wallet
  • This wallet could access to BTC Network
  • Only Bitcoin address is stored. Private key is NOT stored here. That's why this is called watch only wallet.
  • It works as detection coin received, creation of unsigned transaction and client to call Bitcoin APIs.
Cold wallet1
  • This wallet is key management functionalities. It generates seed and private keys as HD wallet and exports address for watch only wallet.
  • Sign unsigned transaction by certain keys.
  • Outside network is not used at all.
Cold wallet2
  • This wallet is key management for authorization by multi-signature address. It also generates seed and private keys for authorization accounts.
  • Sign unsigned transaction by certain keys.
  • Outside network is not used at all.

Install

  • This project is ongoing. Until project done to some extent, I don't use package management tool like dep. So you can get packages as below command.
go get -u -d -v ./...'

Project layout patterns

  • The pkg layout pattern, refer to the linked URLs for details.

Directories

Path Synopsis
cmd
pkg
api
gcp
key
kvs
rdb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL