You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the version 0.3.0 API should be less volatile. All public functions should return a [Result](https://github.com/antitypical/Result) instead of `nil` or throwing.
5
+
With the version 0.3.0 the API should be less volatile. All public functions should return a [Result](https://github.com/antitypical/Result) instead of `nil` or throwing.
6
6
7
7
Example is updated for 0.5.0, although please prefer to use tests as an example for your code.
8
8
@@ -20,7 +20,7 @@ Example is updated for 0.5.0, although please prefer to use tests as an example
20
20
- RLP encoding
21
21
- Interactions (read/write to Smart contracts) :arrows_counterclockwise:
22
22
- Local keystore management (geth compatible)
23
-
- Literally following the standarts:
23
+
- Literally following the standards:
24
24
-[BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) HD Wallets: Deterministic Wallet
@@ -29,18 +29,18 @@ Example is updated for 0.5.0, although please prefer to use tests as an example
29
29
30
30
## Check this out
31
31
32
-
- Private key and transaction were created directly on the iOS device and sent directly to [Infura](https://infura.io) node
32
+
- Private key and transaction were created directly on an iOS device and sent directly to [Infura](https://infura.io) node
33
33
- Native API
34
-
- Security (as cool as hard wallet! Right out-of-the-box! :box: )
35
-
- No unnecessary dependencies
34
+
- Security (as cool as a hard wallet! Right out-of-the-box! :box: )
35
+
- No unnecessary dependencies
36
36
- Possibility to work with all existing smart contracts
37
37
- Referencing the newest features introduced in Solidity
38
38
39
39
## Design decisions
40
40
41
-
- Not every JSON RPC function is exposed yet, priority is gives to ones required for mobile devices
42
-
- Functionality was focused on serializing and signing transactions locally on device to send raw transaction to Ethereum network
43
-
- Requirements for password input on every transactions are indeed a design decision. Interface designers can save user passwords given user's consent
41
+
- Not every JSON RPC function is exposed yet, priority is given to the ones required for mobile devices
42
+
- Functionality was focused on serializing and signing transactions locally on the device to send raw transactions to Ethereum network
43
+
- Requirements for password input on every transaction are indeed a design decision. Interface designers can save user passwords with the user's consent
44
44
- Public function for private key export is exposed for user convenience, but marked as UNSAFE_ :) Normal workflow takes care of EIP155 compatibility and proper clearing of private key data from memory
45
45
46
46
### Here it is
@@ -67,7 +67,7 @@ On Rinkeby TXid = 0xc6eca60ecac004a1501a4323a10edb7fa4cd1a0896675f6b51704c84deda
67
67
68
68
## Example
69
69
70
-
You can try it by yourself by running the example project:
70
+
You can try it yourself by running the example project:
71
71
72
72
- Clone the repo
73
73
-`cd Example/web3swiftExample`
@@ -76,7 +76,7 @@ You can try it by yourself by running the example project:
76
76
77
77
## Requirements
78
78
79
-
Web3swift requires Swift 4.1 and iOS 9.0 or macOS 10.13 although we recommend to use the latest iOS and MacOS versions for your own safety. Don't forget to set iOS version in a Podfile, otherwise you get an error if deployment target is less than the latest SDK.
79
+
Web3swift requires Swift 4.1 and iOS 9.0 or macOS 10.13 although we recommend to use the latest iOS and MacOS versions for your own safety. Don't forget to set the iOS version in a Podfile, otherwise you get an error if the deployment target is less than the latest SDK.
80
80
81
81
## Communication
82
82
@@ -119,7 +119,7 @@ $ pod install
119
119
120
120
-[x] Create Account
121
121
-[x] Import Account
122
-
-[x] Sign transictions
122
+
-[x] Sign transactions
123
123
-[x] Send transactions, call functions of smart-contracts, estimate gas costs
124
124
-[x] Serialize and deserialize transactions and results to native Swift types
125
125
-[x] Convenience functions for chain state: block number, gas price
@@ -130,7 +130,7 @@ $ pod install
130
130
131
131
## Usage
132
132
133
-
Here you can see a few examples of use of our library
133
+
Here's a few use cases of our library
134
134
### Initializing Ethereum address
135
135
```bash
136
136
let coldWalletAddress = EthereumAddress("0x6394b37Cf80A7358b38068f0CA4760ad49983a1B")
@@ -213,7 +213,7 @@ If you've used this project in a live app, please let us know!
213
213
## Special thanks to
214
214
215
215
- Gnosis team and their library [Bivrost-swift](https://github.com/gnosis/bivrost-swift) for inspiration for the ABI decoding approach
216
-
- [Trust iOS Wallet](https://github.com/TrustWallet/trust-wallet-ios) for collaboration and discussion for initial idea
216
+
- [Trust iOS Wallet](https://github.com/TrustWallet/trust-wallet-ios) for the collaboration and discussion of the initial idea
217
217
- Official Ethereum and Solidity docs, everything was written from ground truth standards
0 commit comments