Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzushioh committed Mar 9, 2018
1 parent 61c0eec commit f9a5837
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ let seed = Mnemonic.createSeed(mnemonic: mnemonic)
// BIP32: Key derivation and address generation
let wallet = Wallet(seed: seed, network: .main)
let address = wallet.generateAddress(at: 0)

// Send some ether
let rawTransaction = RawTransaction(ether: "0.15", address: "0x88b44BC83add758A3642130619D61682282850Df", nonce: 2)
let tx = wallet.signTransaction(rawTransaction)

let geth = Geth(network: .main)
geth.sendRawTransaction(rawTransaction: tx) { result in
// Do something...
}
```

## Features
Expand Down

0 comments on commit f9a5837

Please sign in to comment.