Web3Swift
Web3Swift copied to clipboard
Ethereum Web3 library implementation for Swift
We shouldn't use ternary conditional operator. Let's stick with `Ternary` or use `if else` instead and enforce it though swiftlint.
Let's make eth to wei count conversion
This should be pretty simple. The procedure is outlined in the [BIP-39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki). CryptoSwift has a support for PBKDF2. I don't think there is any reason to drag any dependencies.
Lets add an example of a contract showing how one can deploy it to the network
Right now it's not possible to a dynamic collection containing tuples (fixed collections) of >2 elements. An example can be found in ABIDecodingIT.
We need to put something meaningful into readme and maybe design a logo
Due to the nature of web3 and the employed design it might be hard for a newcomer to identify which concrete implementation he might want to use. Lets define rules...
We need to have a standard [ERC-20](https://theethereum.wiki/w/index.php/ERC20_Token_Standard) contract with some initial balance for the owner to test main functions.
`Transaction` and `TransactionReceipt` should be the same object. Because `TransactionReceipt` represents extended data of `Transaction` that was mined on the network.
Once the transaction is sent to the network it has status `pending` unless it is mined in one of next blocks. We can get transaction status by sending two remote...