Dapp-a-day 3: Eth Token Wrapper

in #ethereum8 years ago (edited)

Nexus Logo

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.

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!

Sort:  

@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?

This series of writeups makes me so happy. Thank you for doing it!

Simply Great Information and Presentation

Coin Marketplace

STEEM 0.19
TRX 0.16
JST 0.030
BTC 67312.14
ETH 2623.47
USDT 1.00
SBD 2.69