create account

Dapp-a-day 2: Base Actor by nikolai

View this thread on: hive.blogpeakd.comecency.com
· @nikolai · (edited)
$33.73
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.
👍  , , , , , , , , , , , , , , , , , , , ,
properties (23)
authornikolai
permlinkdapp-a-day-2-base-actor
categoryethereum
json_metadata{"tags":["ethereum","dapp","blockchain"],"links":["https://avatars3.githubusercontent.com/u/16971904?v=3&s=200"]}
created2016-08-09 17:18:15
last_update2016-08-09 17:19:21
depth0
children0
last_payout2016-09-09 05:46:12
cashout_time1969-12-31 23:59:59
total_payout_value31.514 HBD
curator_payout_value2.219 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length957
author_reputation9,571,877,600,096
root_title"Dapp-a-day 2: Base Actor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id707,017
net_rshares20,073,302,270,518
author_curate_reward""
vote details (21)