Dapp-a-day 2: Base Actor

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@nikolai·
0.000 HBD
Dapp-a-day 2: Base Actor
![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-1-erc20)**

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.
👍 , , , , , , , , , , , , , , , , , , , , ,