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: