Git Product home page Git Product logo

bc1toolkit's Introduction

Hi there ๐Ÿ‘‹

How do I make music auto-play here? ๐Ÿค”

bc1toolkit's People

Contributors

meedamian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bc1toolkit's Issues

bc1message

A CLI utility to encode/decode Bitcoin p2p network messages.

bc1isup

Should return a status of a Bitcoin node for a given IP/domain/.onion address.

Should work with mainnet and testnet nodes. Should also detect c-lightning/lnd/eclair status.

Should try to guess ports and return basic information about the node (if available).

bc1bech32

A tool to decode/encode Bech32 data.

Should be able to validate a bech32 string and list errors, if any.

bc1price

Should return current Bitcoin price.

Should handle multiple sources (ideally popular aggregators).

Should handle multiple currencies.

Should be able to tell the price for a given amount, ex. bc1price --buy 2.222 --on kraken.com

Add credential caching

Add credential caching to allow the user to run a command again for a period of time without requiring authentication.

bc1exbalance

Create a CLI wrapper for .Balance functions from https://github.com/meeDamian/crypto returning balance for requested exchange/currenc{y,ies}.

Figure out how to handle credentials: file? OS-specific keystores? Passed as flags? Env vars? Requested upon run? Etc etcโ€ฆ

bc1isconfirmed

A command that returns exit code = 0 if transaction is confirmed or exit code = 1 if it isn't. If --wait=n is provided, it should wait until n confirmations are on top of a transaction before terminating with exit code = 0

bc1isconfirmed --wait=6 <txid|addr(?)> && lncli openchannel <node-id> <amount>

bc1xpub

Should take {x,y,z}pub, generate possible addresses and check their balance.

Ideally, uses local sources (with a remote fallback under a flag(?)), tries to minimize output, by not showing empty branches, etc.

Gotta be smart about a bunch of things here.

bc1tx

Should be able to take Bitcoin transaction and output a detailed info about it (should also work if transaction id provided).

Should be able to take json and return encoded transaction.

bc1seed

Note, gotta be careful here, to make sure users are unlikely to leave their seeds in {ba,z,fi}sh history.

Should take seed (or xpriv), generate owned addresses and check their balance. Local sources should be prioritised over remote (which should probably sit behind a flag/config).

Should be able to generate:

  • seed -> xpriv, {x,y,z}pub
  • xpriv -> {x,y,z}pub

Gotta make sure it preserves privacy well here.

bc1fee

A tool to return currently recommended Bitcoin fees.

Should take: block target, transaction size or transaction itself

Should either calculate the fees by itself or use fee recommendation sources (either online or bitcoin-cli etc, if available).

bc1invoice

Should take LN invoice and return it's json representation, see: lightning-cli decodepay or lncli decodepayreq.

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.