WIP: [Sprint/ModestMonkey] wire epic 37
- create a tiers carousel component
- add tiers to wire creator
- replace deprecated QRcode package
- update vector icons and menu packages
- add payment methods support
- add bitcoin support
- change wire text
- wire refactor and clean up
- add eth support
- add usd support
closes #1220
0/1 thread resolved
changed milestone to %sprint: Modest Monkey
added Squad::Green scoped label
marked the task create a tiers carousel component as completed
marked the task add tiers to wire creator as completed
added 1 commit
- bc618baf - (chore) replace qrcode package - vector icons and menu packages updated
added 1 commit
- f8095bdf - WIP: payment selector, btc payment, wire refactor
marked the task add payment methods support as completed
changed the description
added 6 commits
Toggle commit listmarked the task add eth support as completed
marked the task wire refactor and clean up as completed
- Last updated by Ben Hayward
133 * @param {number} amount eth amount 134 */ 135 async sendEth(to, amount) { 136 const toHex = this.web3.utils.toHex; 137 const baseOptions = await this.getTransactionOptions(); 138 const privateKey = await BlockchainWalletService.unlock(baseOptions.from); 139 140 const nonce = await this.web3.eth.getTransactionCount(baseOptions.from); 141 142 const tx = { 143 nonce, 144 to, 145 from: baseOptions.from, 146 value: toHex( this.web3.utils.toWei(amount, 'ether') ), 147 gas: toHex(21000), 148 gasPrice: toHex( this.web3.utils.toWei('2', 'Gwei') ), // converts the gwei price to wei - Developer
I don't think there's necessarily anything you can do different here as its the same on the front-end, but I strongly feel we should be getting gas prices dynamically.
- Developer
Check out this https://ethereum.stackexchange.com/a/52974
Unsure if its possible in this context but worth a look