Dapp-a-day 2: Base Actor

in #ethereum9 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.

Today's dapp is a "mixin" contract which contains the definitions of a saner and safer alternative to .call and .send, called exec and tryExec. Don't be mislead, they don't form an analogy - read the definitions.

https://github.com/nexusdev/ds-actor

The contract and function names are largely an artifact of how these were used before isolated as its own package.

This is not a complete safety solution if your goal is to actually transfer ETH. Watch out for a dapp-a-day post combining erc20 and ds-actor to create a ETH token which used to isolate all "native" ether transfers to one object.

Coin Marketplace

STEEM 0.12
TRX 0.33
JST 0.032
BTC 112175.12
ETH 4122.44
USDT 1.00
SBD 0.76