Code Monkey home page Code Monkey logo

bihelix-rgb-cli's Introduction

Bihelix RGB CLI

The rgb command-line tool, which combined with the Bitcoin Development Kit and the rgb 0.11 libraries, developed by the Behelix Team is used to import, export, issue, and query your off-chain RGB20(currently support RGB20) assets. Notes: In the current stage, the user can only import, and query their rgb20 asset by this cli tool, can not transfer the rgb asset(bihelix-cli don't include rgb single transfer).

Usage

Install the program

To git the repo and then compile it.

git clone https://github.com/BiHelix-Labs/bihelix-rgb-cli.git
cd bihelix-rgb-cli
cargo build --release

Generate your pub/prv key

# generate your first bdk wallet descriptor
bash demo/run_generate_address.sh
# then it will prints out, so it's your public key and private key, you can use it to create transaction and sign transaction:
"[2b3050bc/86'/1'/0'/9]tprv8hy89tKrseaHXP5mWnWao7Q9nHEge994uuzd9PUGLBdwhyKmCrvhENVY6ETQUE1zJh8EoXj9sxU6AGSGEWDG3EAoEYx2NCyQqoJByHiKbpt/*"
"[2b3050bc/86'/1'/0'/9]tpubDEfAJJN722FxQr7ZQSBBCX4GMJkcoUKyVDbQRuWZkTSLYTaXqFkHQs7QGNut824tftQaPavf3D4XJFLXZwcUZ2fyhiG4pmRCufsGwACps8g/*"

Query the RGB20 asset

# based on your stock.dat, contrac id, and rgb consigment file, you can run this shell to query your asset in the local
bash demo/query_asset.sh

bihelix-rgb-cli's People

Contributors

infinitasdev avatar cymqqqq 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.