You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varprvKeyBech=bech32.encode("cvote_sk",bech32.toWords(Buffer.from(prvKeyHex,"hex")),256);//encode in bech32 with a raised limit to 256 words because of the extralong privatekey (128bytes)
1422
-
varpubKeyBech=bech32.encode("cvote_vk",bech32.toWords(Buffer.from(pubKeyHex,"hex")),128);//encode in bech32 with a raised limit to 128 words because of the longer publickey (64bytes)
1423
-
1424
1414
//get the --vote-purpose parameter, set default = 0
1425
1415
varvote_purpose_param=args['vote-purpose'];
1426
1416
if(typeofvote_purpose_param==='undefined'){vote_purpose=0}//if not defined, set it to default=0
varprvKeyBech=bech32.encode("cvote_sk",bech32.toWords(Buffer.from(prvKeyHex,"hex")),256);//encode in bech32 with a raised limit to 256 words because of the extralong privatekey (128bytes)
1434
+
varpubKeyBech=bech32.encode("cvote_vk",bech32.toWords(Buffer.from(pubKeyHex,"hex")),128);//encode in bech32 with a raised limit to 128 words because of the longer publickey (64bytes)
Copy file name to clipboardExpand all lines: src/package.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "cardano-signer",
3
-
"version": "1.16.0",
3
+
"version": "1.16.1",
4
4
"description": "cardano-signer signs a given data(hex/text/file) with a signing key(hex/bech/file) or verify the signature via a public key(hex/bech/file). it can also produce a cip-8/cip-30/cip-36 conform payload signing/verification. can produce ed25519 keys from mnemonic for payment, staking, drep, constitutional commitee cold/hot keys, etc...",
0 commit comments