bws-go

module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT

README

bws-go

Build Status codecov Go Report Card PkgGoDev

Bitcore Wallet Service API client implementation in Go.

Limitations

Messages (e.g. in transaction / tx outputs) are NOT being encrypted, because Go doesn't support AES-CCM, which is used by default in SJCL, original implementation's cryptography dependency. More info:

Methods

Implemented API methods:

  • getFeeLevels
  • getVersion
  • createWallet
  • joinWallet
  • getNotifications
  • getStatus
  • getPreferences
  • savePreferences
  • getUtxos
  • createTxProposal
  • publishTxProposal
  • createAddress
  • getMainAddresses
  • getBalance
  • getTxProposals
  • signTxProposal
  • rejectTxProposal
  • broadcastRawTx
  • broadcastTxProposal
  • removeTxProposal
  • getTxHistory
  • getTx
  • startScan
  • getFiatRate
  • pushNotificationsSubscribe
  • pushNotificationsUnsubscribe
  • getSendMaxInfo
  • recreateWallet
  • fetchPayPro
  • signTxProposalAirGapped
  • createWalletFromOldCopay

Examples

Directories

Path Synopsis
Package client contains Bitcore Wallet Client
Package client contains Bitcore Wallet Client
Package config contains data structures related to Client configuration
Package config contains data structures related to Client configuration
Package credentials is related to HD keys management
Package credentials is related to HD keys management
examples
multisig
Package multisig shows how to create & join multi-signature wallet and send transaction
Package multisig shows how to create & join multi-signature wallet and send transaction
simple
Package simple shows how to open wallet with a single copayer and send transaction
Package simple shows how to open wallet with a single copayer and send transaction
Package models contain HTTP response data structures received from BWS
Package models contain HTTP response data structures received from BWS
Package utils contains functions for hashing, signing and verifying data
Package utils contains functions for hashing, signing and verifying data

Jump to

Keyboard shortcuts

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