Giter Site home page Giter Site logo

ccid-tools's Introduction

CCID Tools

A Concurrent CCID management tool.

Installation (Linux)

  1. Download binary from Releases
  2. Grant Permission
$ cd /path/to/your/download/directory
$ mv <downloaded filename> ccid-tools
$ chmod +x ./ccid-tools
  1. Run
$ ./ccid-tools <subcommand> <options>

Build yourself

official build doesn't work on some old CPUs, so you may need to build it yourself.

$ git clone https://github.com/7ka-Hiira/ccid-tools.git
$ cd ccid-tools
$ RUSTFLAGS="-C target-cpu=native" cargo build --release

You can find the binary in ./target/release/ccid-tools

Usage

Generate an entity

$ ./ccid-tools keygen

Vanity key generation

You'll get Mnemonics and Addresses

Examples

  • Generate CCID starts with 12345 and Japanese mnemonic
$ ./ccid-tools vanity-search --starts-with 2345 --lang ja
  • Generate CCID containing abcdef (case-sensitive) with 3 threads, stop when one is found
$ ./ccid-tools vanity-search --contains xyz -j3 --stop-when-found --case-sensitive
  • Generate CCID where the 5 characters following the 'con1' and the last 5 characters are numbers
$ ./ccid-tools vanity-search --regex "^con1\d{5}.*\d{5}$"

Key derivation

Examples

  • Derive privatekey from mnemonics
$ ./ccid-tools mnemonic-to-privkey "return velvet service basket ..."
  • Derive CCID from privatekey
$ ./ccid-tools privkey-to-address "bcb7710a8cb369bc695e7e200611d501b..."

Contributing

New features, bug reports/fixes, and improvements are welcome:)

License

Apache 2.0

Acknowledgements

clap coins concurrent-client elliptic-curves num_cpus rand regex RustCrypto: Hashes rust-bech32 rust-hex rust-secp256k1 unicode-normalization

ccid-tools's People

Contributors

7ka-hiira avatar syobocat avatar

Stargazers

 avatar

Forkers

syobocat

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.