Giter Club home page Giter Club logo

go-electrumx's Introduction

go-electrumx GoDoc

This repository is a fork of ccampbell/go-electrum which is a fork of d4l3k/go-electrum, both of which are unmaintained now.

A pure Go ElectrumX bitcoin client library. This makes it easy to write bitcoin based services using Go without having to run a full bitcoin node, or querying for bitcoin data that is not available through a regular full node.

go-electrumx

Packages provided

  • electrumx - Dependency-free (except for the standard library) module for using JSON-RPC to talk directly to ElectrumX servers.
  • wallet - A bitcoin wallet built on btcwallet with ElectrumX as the backend.

Usage

See examples for more.

Donate

If you find these packages useful, please consider flipping me a few satoshis ๐Ÿค—

bc1qtsh9vfy2xc5n972lhh0rezkj0ny7kjktwsrl6z

License

go-electrumx is licensed under the MIT license.

go-electrumx's People

Contributors

qshuai avatar d4l3k avatar fryday avatar ccampbell avatar torkelrogstad avatar elbandi avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

go-electrumx's Issues

Using this package in a project

Hello, we are using this package (in fact a fork that you mention is no longer maintained) and actually looking to keep this project maintained and some help to keep it working in our backend (which has some Go micro services)

feel free to reach on telegram via @sergimcp in case it might be possible to get some agreement/collaboration

thanks!

can't create new wallet, build fail

# btc/vendor/github.com/bcext/cashwallet/walletdb/bdb
vendor/github.com/bcext/cashwallet/walletdb/bdb/db.go:12:2: imported and not used: "btc/vendor/github.com/coreos/bbolt"
vendor/github.com/bcext/cashwallet/walletdb/bdb/db.go:55:10: undefined: bolt
vendor/github.com/bcext/cashwallet/walletdb/bdb/db.go:104:13: undefined: bolt
# btc/vendor/github.com/bcext/cashwallet/chain
vendor/github.com/bcext/cashwallet/chain/bitcoind_conn.go:184:32: not enough arguments in call to conn.Receive
        have ()
        want ([][]byte)
vendor/github.com/bcext/cashwallet/chain/bitcoind_conn.go:260:32: not enough arguments in call to conn.Receive
        have ()
        want ([][]byte)
func newWallet() {
	seed, err := hdkeychain.GenerateSeed(hdkeychain.RecommendedSeedLen)
	if err != nil {
		log.Fatal(err)
	}
	w, err := wallet.Create("test.wallet", "pass", seed)
	if err != nil {
		log.Fatal(err)
	}
	addrs, err := w.GenAddresses(10)
	if err != nil {
		log.Fatal(err)
	}
	for _, i := range addrs {
		fmt.Println(i.String())
	}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.