1 Star 0 Fork 0

範輝 / plgr

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

plgr

Usage

plgr 0.1.0

USAGE:
    plgr [OPTIONS] --entries-path <ENTRIES_PATH> --privkey-path <PRIVKEY_PATH>

OPTIONS:
    -a, --rpc-addr <RPC_ADDR>            Optional, like: http://***:8545
        --bsc-testnet                    Optional, default to BSC mainnet
    -c, --contract <CONTRACT>            Optional, like: 0x816d8...40C9a
    -h, --help                           Print help information
    -K, --privkey-path <PRIVKEY_PATH>    A file containing your private key
    -p, --entries-path <ENTRIES_PATH>    A file containing who and how much to transfer
    -V, --version                        Print version information

Example

Sample contents of an entry file:

0xCBf28E280eeF69d0854159846AB6e154c6b3DB6a,99.1
0x19c342e80D87cDC6FfF849762BD8dF006A26264F, 77
0xFFc342e80D87cDC6FfF849762BD8dF006A262600, 0.1

Sample contents of a private key file:

9aa840439e7268ecb2d27876c57bd9a20e9605144f1672958e14f53eafb6e9fa

BSC testnet

make release

# use your own contact on the BSC testnet
./target/release/plgr --bsc-testnet \
                      -p <file path to your entries> \
                      -K <file path to private key> \
                      -c <PLGR contract address>

Quick testing on the BSC testnet:

make test

BSC mainnet

make release

# use the official contract
./target/release/plgr -p <file path to your entries> -K <file path to private key>

# use a custom contract
./target/release/plgr -p <file path to your entries> \
                      -K <file path to private key> \
                      -c <PLGR contract address>

Compilation

make release

空文件

简介

暂无描述 展开 收起
Rust 等 3 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Rust
1
https://gitee.com/kt10/plgr.git
git@gitee.com:kt10/plgr.git
kt10
plgr
plgr
master

搜索帮助