From 8c58de2f1bf0a70fd37e07c32812dde2a19fdaf0 Mon Sep 17 00:00:00 2001 From: git Date: Thu, 22 Mar 2018 08:14:04 +0100 Subject: [PATCH] latest changes --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 91611fe..430ffde 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ import pywaves as pw # generate a new address myAddress = pw.Address() -# set an address with a public key +# set an address with an address myAddress = pw.Address('3P6WfA4qYtkgwVAsWiiB6yaea2X8zyXncJh') # get an existing address from seed @@ -185,6 +185,13 @@ myAddress = pw.Address(seed='seven wrist bargain hope pattern banner plastic map # get an existing address from privateKey myAddress = pw.Address(privateKey='CtMQWJZqfc7PRzSWiMKaGmWFm4q2VN5fMcYyKDBPDx6S') + +# get an existing address from a publicKey +address = pw.Address(publicKey=“EYNuSmW4Adtcc6AMCZyxkiHMPmF2BZ2XxvjpBip3UFZL”) + +# get an address from a seed with a different nonce +myAddress = pw.Address(seed='seven wrist bargain hope pattern banner plastic maple student chaos grit next space visa answer', nonce=1) +This is especially useful for accessing addresses generated by nodes. ``` #### Balances: