简介
脚本
#!/bin/bash
SECRET='你的助记词seed'
for i in 1 2 3 4 5 6; do for j in stash controller; do subkey inspect --scheme sr25519 "$SECRET//$i//$j"; done; done
for i in 1 2 3 4 5 6; do for j in babe; do subkey inspect --scheme sr25519 "$SECRET//$i//$j"; done; done
for i in 1 2 3 4 5 6; do for j in grandpa; do subkey inspect --scheme ed25519 "$SECRET//$i//$j"; done; done
for i in 1 2 3 4 5 6; do for j in im_online; do subkey inspect --scheme sr25519 "$SECRET//$i//$j"; done; done
- 保存成 .sh 脚本即可,比如
account-gen.private.sh
- 执行即可
sh account-gen.private.sh
结束