mirror of
https://github.com/danog/toncontest.git
synced 2024-11-26 12:04:50 +01:00
Improve
This commit is contained in:
parent
97b98ffcf1
commit
bc0c6a467e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
ton-db-dir
|
||||
*.pk
|
||||
*.pubkey
|
||||
*.addr
|
||||
*.boc
|
||||
|
@ -1,14 +1,14 @@
|
||||
"TonUtil.fif" include
|
||||
|
||||
{ ."usage: " @' $0 type ." <privkey> <pubkey>" cr
|
||||
{ ."usage: " @' $0 type ." <privkey>" cr
|
||||
."Create public key files from private keys; if <privkey> doesn't exist, it will be created." cr cr
|
||||
1 halt
|
||||
} : usage
|
||||
$# 2 < ' usage if
|
||||
$# 1 < ' usage if
|
||||
|
||||
$1 +".pk" load-generate-keypair drop
|
||||
$2 +".pubkey" B>file
|
||||
$1 +".pubkey" B>file
|
||||
|
||||
|
||||
."Wrote private key to " $1 +".pk" type cr
|
||||
."Wrote public key to " $2 +".pubkey" type cr
|
||||
."Wrote public key to " $1 +".pubkey" type cr
|
Loading…
Reference in New Issue
Block a user