register wallet to RPC Node
git clone https://github.com/1oid/cat20-rpc-registrycd cat20-rpc-registry
yarn installyarn cli -h
Usage: approve [options]
Fractal-Bitcoin wallet register
Options:
-V, --version output the version number
-n, --name [Wallet name 钱包名, 可以在config.json中找到] --name
-w, --wallet [Wallet address, 钱包地址, 通过 yarn cli wallet address获取] --wallet
-r, --rpc [RPC Node IP, rpc ip, 只需要IP部分] --rpc
-c, --config [Generate config Enable, 如果开启, 会输出config配置] --config (default: false)
-h, --help display help for commandyarn cli -n cat-a103ca57 -w bc1pkxvkymgm0wchrr5s4fqrd8vepghquctuwvj92gd8q7vs2pdrd2rst4q65r -r 127.0.0.1
[CREATE] create successfully.
[IMPORT] import successfully.replace the RPC Node IP to your config.json
yarn cli -n cat-a103ca57 -w bc1pkxvkymgm0wchrr5s4fqrd8vepghquctuwvj92gd8q7vs2pdrd2rst4q65r -r 127.0.0.1 -c
[CREATE] create successfully.
[IMPORT] import successfully.
🌟===== write output to your cofig.json =====
{
network: 'fractal-mainnet',
tracker: 'http://127.0.0.1:3000',
dataDir: '.',
maxFeeRate: 0,
rpc: {
url: 'http://127.0.0.1:8332',
username: 'bitcoin',
password: 'opcatAwesome'
}
}yarn verify -h
Usage: nodeblock [options]
Fractal-Bitcoin Tracker Node BlockHeight Check
Options:
-V, --version output the version number
-f, --file [RpcNode IPs] RpcNodeIPs file, only IP
-r, --rpc [RPC Node IP] Rpc IP only
-h, --help display help for commandjrpc.txt must only contains ip
example:
127.0.0.1
1.x.x.xyarn verify -f jrpc.txtyarn verify -r 127.0.0.1