Skip to content

Commit

Permalink
chore: Bump version to 1.31.1 and update V5R1 address format in Walle…
Browse files Browse the repository at this point in the history
…t.js
  • Loading branch information
yerofey committed Sep 4, 2024
1 parent dd60b4f commit 3bf3f5f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yerofey/cryptowallet-cli",
"version": "1.31.0",
"version": "1.31.1",
"description": "Crypto wallet generator CLI tool",
"type": "module",
"homepage": "https://github.com/yerofey/cryptowallet-cli",
Expand Down
15 changes: 12 additions & 3 deletions src/Wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,11 @@ class Wallet {
urlSafe: true, // (UQ)
testOnly: false,
});
const bouncableAddressV5 = v5Address.toString({
bounceable: true,
urlSafe: false, // (EQ)
testOnly: false,
});

Object.assign(result, {
addresses: [
Expand All @@ -526,12 +531,16 @@ class Wallet {
address: nonBounceableV5Address,
},
{
title: 'V4R2: UQ format (new): best for wallets, - non-bounceable',
title:
'V5R1: EQ format (new): best for smart contracts, - bounceable',
address: bouncableAddressV5,
},
{
title: 'V4R2: UQ format: best for wallets, - non-bounceable',
address: nonBounceableAddress,
},
{
title:
'V4R2: EQ format (old): best for smart contracts, - bounceable',
title: 'V4R2: EQ format: best for smart contracts, - bounceable',
address: bouncableAddress,
},
],
Expand Down

0 comments on commit 3bf3f5f

Please sign in to comment.