Skip to content

Commit ab4e81b

Browse files
author
Alex Vlasov
committed
some clarification about cold wallet ABI
1 parent 7d78b72 commit ab4e81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ print("BKX token balance = " + String(bal))
174174
let web3Rinkeby = Web3.InfuraRinkebyWeb3()
175175
web3Rinkeby.addKeystoreManager(bip32keystoreManager) // attach a keystore if you want to sign locally. Otherwise unsigned request will be sent to remote node
176176
options.from = bip32ks?.addresses?.first! // specify from what address you want to send it
177-
intermediateSend = web3Rinkeby.contract(coldWalletABI, at: coldWalletAddress, abiVersion: 2)!.method(options: options)!
177+
intermediateSend = web3Rinkeby.contract(Web3.Utils.coldWalletABI, at: coldWalletAddress, abiVersion: 2)!.method(options: options)! // an address with a private key attached in not different from any other address, just has very simple ABI
178178
let sendResultBip32 = intermediateSend.send(password: "BANKEXFOUNDATION")
179179
```
180180

0 commit comments

Comments
 (0)