Skip to content

Commit eeb885b

Browse files
Merge pull request #56 from ElrondNetwork/version-1.0.21
Prepare version 1.0.21
2 parents 52413dc + 8e93a35 commit eeb885b

8 files changed

Lines changed: 19 additions & 13 deletions

File tree

erdpy/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes will be documented in this file.
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
## [1.0.21] - 01.11.2021
8+
- New command `erdpy wallet new`, which generates a new wallet mnemonic and optionally saves it to JSON or PEM
9+
- Add support for Rust contract `meta` crates
10+
- Update reference to the renamed VM repository (VM dependency is now named `vmtools`)
11+
- Change `erdpy deps install all` to avoid installing / overwriting non-repository dependencies, e.g. Rust, LLVM, Go
12+
- Update help strings and `CLI.md`
13+
714
## [1.0.20] - 26.10.2021
815
- Bugfix by [phanletrunghieu](https://github.com/phanletrunghieu): use $PATH in `erdpy-up`
916
- Bugfix by [x2ocoder](https://github.com/x2ocoder): add missing `enable_epochs` configurations

erdpy/CLI.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tx Create and broadcast Transactions
3535
validator Stake, UnStake, UnBond, Unjail and other actions useful for Validators
3636
account Get Account data (nonce, balance) from the Network
3737
ledger Get Ledger App addresses and version
38-
wallet Derive secret key from mnemonic, bech32 address helpers etc.
38+
wallet Create wallet, derive secret key from mnemonic, bech32 address helpers etc.
3939
network Get Network parameters, such as number of shards, chain identifier etc.
4040
cost Estimate cost of Transactions
4141
dispatcher Enqueue transactions, then bulk dispatch them
@@ -744,7 +744,7 @@ optional arguments:
744744
$ erdpy wallet --help
745745
usage: erdpy wallet COMMAND [-h] ...
746746
747-
Derive secret key from mnemonic, bech32 address helpers etc.
747+
Create wallet, derive secret key from mnemonic, bech32 address helpers etc.
748748
749749
COMMANDS:
750750
{new,derive,bech32,pem-address,pem-address-hex}
@@ -755,7 +755,7 @@ OPTIONS:
755755
----------------
756756
COMMANDS summary
757757
----------------
758-
new Create a new wallet
758+
new Create a new wallet and print its mnemonic; optionally save as password-protected JSON (recommended) or PEM (not recommended)
759759
derive Derive a PEM file from a mnemonic or generate a new PEM file (for tests only!)
760760
bech32 Helper for encoding and decoding bech32 addresses
761761
pem-address Get the public address out of a PEM file as bech32
@@ -769,7 +769,8 @@ pem-address-hex Get the public address out of a PEM file as hex
769769
$ erdpy wallet new --help
770770
usage: erdpy wallet new [-h] ...
771771
772-
Create a new wallet
772+
Create a new wallet and print its mnemonic; optionally save as password-protected JSON (recommended) or PEM (not
773+
recommended)
773774
774775
optional arguments:
775776
-h, --help show this help message and exit

erdpy/CLI.md.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,5 @@ generate() {
118118
command "Data.Store" "data store"
119119
command "Data.Load" "data load"
120120
}
121+
122+
generate

erdpy/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.20"
1+
__version__ = "1.0.21"

erdpy/cli_wallet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ def setup_parser(args: List[str], subparsers: Any) -> Any:
1616
parser = cli_shared.add_group_subparser(
1717
subparsers,
1818
"wallet",
19-
"Derive secret key from mnemonic, bech32 address helpers etc."
19+
"Create wallet, derive secret key from mnemonic, bech32 address helpers etc."
2020
)
2121
subparsers = parser.add_subparsers()
2222

2323
sub = cli_shared.add_command_subparser(
2424
subparsers,
2525
"wallet",
2626
"new",
27-
"Create a new wallet"
27+
"Create a new wallet and print its mnemonic; optionally save as password-protected JSON (recommended) or PEM (not recommended)"
2828
)
2929
sub.add_argument("--json",
3030
help="whether to create a json key file", action="store_true", default=False)

erdpy/wallet/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import secrets
44
import struct
55
from importlib.resources import open_text
6-
from typing import List, Optional
6+
from typing import List
77

88
import nacl.signing
99

erdpy/wallet/generator.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import logging
22
import nacl.encoding
33
import nacl.signing
4-
import base64
5-
from os import path
6-
7-
from erdpy import utils, guards
84

95
logger = logging.getLogger("wallet.generator")
106

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
with open("README.md", "r") as fh:
44
long_description = "https://github.com/ElrondNetwork/elrond-sdk-erdpy"
55

6-
VERSION = "1.0.20"
6+
VERSION = "1.0.21"
77

88
try:
99
with open('./erdpy/_version.py', 'wt') as versionfile:

0 commit comments

Comments
 (0)