dayou5168 / convert-pubk-to-auto

convert a plublic key to autonomys address

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A command line tool for converting a public key to an autonomys style address

Compile

cargo build --release

Command line usage

pubkey-to-auto convert --publickey 0x3ae43b80268XXXXXX81ec6ec2631be705b2e57392aa96b9a37bcc7337a622131
st7bQWbpMe3wVoUtyvtQhDv3f7d9Z7soBnQuTD5gjYykbos1T

# get help
pubkey-to-auto convert --help
Usage: base58_converter convert --publickey <PUBLICKEY>

Options:
  -p, --publickey <PUBLICKEY>
  -h, --help                   Print help
  -V, --version                Print version

run this tool in a server

pubkey-to-auto convertserver -l 127.0.0.1:4000

# get help
pubkey-to-auto convertserver --help
Listen to a port to start a service

Usage: pubkey-to-auto convertserver --listen <LISTEN>

Options:
  -l, --listen <LISTEN>


  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Service uri is kind of like http://host:port/pub/youpublickey. eg: http://127.0.0.1:4000/pub/0x3ae43b80268a721c781ec6ec2631be705b2e57392aa96b9a37bcc7337a

Notice

This is a tool to convert public key to autonomys address. use the command line or run a server. simple and easy.

About

convert a plublic key to autonomys address


Languages

Language:Rust 100.0%