Coder Social home page Coder Social logo

bitcoin-lib-grpc's Introduction

bitcoin-lib-grpc

bitcoin-lib-grpc is a modular service that exposes a gRPC interface to wrap protocol-centric logic related to Bitcoin, and related forks.

It is based on btcd - a Bitcoin SDK and full node implementation written in Go.

Supported chains

  • Bitcoin
    • mainnet
    • testnet3
    • regtest
  • Litecoin
    • mainnet

Summary of gRPC methods

Full details available here.

  • ValidateAddress ➔ check whether an address is valid for the given chain parameters.

  • DeriveExtendedKey ➔ derive a child extended key based on BIP0032 derivation rules.

  • EncodeAddress ➔ serialize public key into a network-specific address.

  • GetAccountExtendedKey ➔ serialize public key-material into xPub.

  • CreateTransaction ➔ prepare a raw TX based on TX params.

  • SignTransaction ➔ combine a raw TX with DER signatures to produce the signed TX.

  • GetKeypair ➔ derive an extended public-private keypair from a seed on a given derivation.

    ⚠️ Note: for use in tests only.

  • GenerateDerSignatures ➔ sign a raw TX with a private key to produce DER signatures.

    ⚠️ Note: for use in tests only.

Architecture

Development

  1. Install mage.
  2. Build the project to produce the executable.
    $ mage build
    
  3. Run the binary.
$ ./lbs

bitcoin-lib-grpc's People

Contributors

onyb avatar erictaodev avatar gagbo avatar jjayet-ledger avatar drakofukayu avatar

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.