Skip to content

Commit 0462480

Browse files
authored
Merge pull request #136 from BANKEX/develop
Fixes to README
2 parents 93b8297 + 338e0c7 commit 0462480

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ platform :ios, '9.0'
102102

103103
target '<Your Target Name>' do
104104
use_frameworks!
105-
pod 'web3swift', :git => 'https://github.com/BANKEX/web3swift.git'
105+
pod 'web3swift', '~> 0.8.0'
106106
end
107107
```
108108

@@ -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)