1
0
mirror of https://github.com/danog/toncontest.git synced 2024-11-26 12:04:50 +01:00
This commit is contained in:
Daniil Gentili 2019-10-06 20:51:57 +02:00
parent 97b98ffcf1
commit bc0c6a467e
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
ton-db-dir
*.pk
*.pubkey
*.addr
*.boc

View File

@ -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