create account

Dapp-a-day 3: Eth Token Wrapper by nikolai

View this thread on: hive.blogpeakd.comecency.com
· @nikolai · (edited)
$32.66
Dapp-a-day 3: Eth Token Wrapper
![Nexus Logo](https://avatars3.githubusercontent.com/u/16971904?v=3&s=200)

**Each weekday leading up to devcon2, Nexus will highlight a dapp, library, or package (something with a `dappfile`) as a promotion of our toolchain and as case studies for other developers. [Yesterday's Post.](https://steemit.com/ethereum/@nikolai/dapp-a-day-2-base-actor)**

The Ether token wrapper wraps "native" Ether into an ERC20-compliant address. Using `.send` or `.call` to transfer Ether both have their own unintuitive edge cases and is a common cause of vulnerabilities.

https://github.com/nexusdev/ds-eth-token

An example app using the ETH token wrapper is https://mkr.market, which will get its own dapp-a-day later.

Between this package and `ds-actor`, most of the gotchas related to native direct calls are now non-issues.

We are almost ready to start looking at interesting dapps. There are a just a few more building blocks to cover. Stay tuned!
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authornikolai
permlinkdapp-a-day-3-eth-token-wrapper
categoryethereum
json_metadata{"tags":["ethereum","dapp","blockchain","cryptocurrency"],"links":["https://avatars3.githubusercontent.com/u/16971904?v=3&s=200"]}
created2016-08-10 16:18:21
last_update2016-08-10 16:19:45
depth0
children3
last_payout2016-09-10 05:33:00
cashout_time1969-12-31 23:59:59
total_payout_value29.598 HBD
curator_payout_value3.061 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length943
author_reputation9,571,877,600,096
root_title"Dapp-a-day 3: Eth Token Wrapper"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id727,225
net_rshares19,983,312,520,867
author_curate_reward""
vote details (49)
@alaynaspop ·
Simply Great Information and Presentation
properties (22)
authoralaynaspop
permlinkre-nikolai-dapp-a-day-3-eth-token-wrapper-20160815t083016304z
categoryethereum
json_metadata{"tags":["ethereum"]}
created2016-08-15 08:30:15
last_update2016-08-15 08:30:15
depth1
children0
last_payout2016-09-10 05:33:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length41
author_reputation-513,734,219,690
root_title"Dapp-a-day 3: Eth Token Wrapper"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id813,544
net_rshares0
@cryptocylon ·
This series of writeups makes me so happy. Thank you for doing it!
properties (22)
authorcryptocylon
permlinkre-nikolai-dapp-a-day-3-eth-token-wrapper-20160811t014306889z
categoryethereum
json_metadata{"tags":["ethereum"]}
created2016-08-11 01:43:06
last_update2016-08-11 01:43:06
depth1
children0
last_payout2016-09-10 05:33:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length66
author_reputation187,849,994,124
root_title"Dapp-a-day 3: Eth Token Wrapper"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id737,523
net_rshares0
@kennyrowe ·
@nikolai could you say anything more about the "gotchas"? Are there some known minor gatchas? What should people be careful of when deploying this package?
properties (22)
authorkennyrowe
permlinkre-nikolai-dapp-a-day-3-eth-token-wrapper-20160810t181451728z
categoryethereum
json_metadata{"tags":["ethereum"],"users":["nikolai"]}
created2016-08-10 18:14:51
last_update2016-08-10 18:14:51
depth1
children0
last_payout2016-09-10 05:33:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length155
author_reputation26,813,467,404,174
root_title"Dapp-a-day 3: Eth Token Wrapper"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id729,635
net_rshares0