Viewing a response to: @jesta/an-experimental-script-for-running-ico-like-events-on-steem
Why not just let people send funds to the donation account, and then lookup transaction history to determine which deposits were valid or not? What problems does icomanager attempt to solve? I'm not sure I understand the concept.
author | furion |
---|---|
permlink | re-jesta-an-experimental-script-for-running-ico-like-events-on-steem-20170607t021427919z |
category | steem-dev |
json_metadata | {"tags":["steem-dev"],"app":"steemit/0.1"} |
created | 2017-06-07 02:14:27 |
last_update | 2017-06-07 02:15:00 |
depth | 1 |
children | 3 |
last_payout | 2017-06-14 02:14:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.512 HBD |
curator_payout_value | 0.308 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 230 |
author_reputation | 116,503,940,714,958 |
root_title | "An experimental script for running ICO-like events on Steem" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 4,310,043 |
net_rshares | 474,720,242,512 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
jesta | 0 | 352,069,118,207 | 100% | ||
the-ego-is-you | 0 | 6,690,081,574 | 100% | ||
point | 0 | 283,340,420 | 100% | ||
gutzofter | 0 | 80,829,322,510 | 100% | ||
personz | 0 | 34,848,379,801 | 100% | ||
teutorigos | 0 | 0 | 100% |
You could definitely do that, and then by hand return all of the invalid funds and record which ones were valid into some sort of data store. The goal here was to automate it like most smart contracts would do - sort of like an ERC20 token sale on ETH would. I don't know that it specifically solves a problems though. It doesn't have to, it's an experiment and it was fun to write :) Kudos to you for your work on steem-python, I've been enjoyin writing things like this in it!
author | jesta | ||||||
---|---|---|---|---|---|---|---|
permlink | re-furion-re-jesta-an-experimental-script-for-running-ico-like-events-on-steem-20170607t021427919z-201766t22332350z | ||||||
category | steem-dev | ||||||
json_metadata | {"app":"chainbb/0.1","format":"markdown+html","tags":[]} | ||||||
created | 2017-06-07 02:33:24 | ||||||
last_update | 2017-06-07 02:33:24 | ||||||
depth | 2 | ||||||
children | 2 | ||||||
last_payout | 2017-06-14 02:33:24 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 1.630 HBD | ||||||
curator_payout_value | 0.181 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 487 | ||||||
author_reputation | 140,605,453,893,072 | ||||||
root_title | "An experimental script for running ICO-like events on Steem" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 4,310,746 | ||||||
net_rshares | 538,788,125,787 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cryptoctopus | 0 | 397,977,340,248 | 100% | ||
the-ego-is-you | 0 | 6,690,081,574 | 100% | ||
tomino | 0 | 17,870,769,198 | 100% | ||
point | 0 | 283,340,420 | 100% | ||
gutzofter | 0 | 80,829,322,510 | 100% | ||
personz | 0 | 34,848,379,801 | 100% | ||
redpill | 0 | 288,892,036 | 100% |
You don't have to do anything by hand, you can just auto-refund invalid ones with a script. Furthermore, if you want to have 2 accounts, you can pass references by including original deposit's `trx_id`, into a transfer's memo. Thus, you can move funds from `donation` to `cold` address without losing a reference to whom paid what. In any case, these solutions are off-chain, and I think that mimicking a smart contract is an engineering overkill.
author | furion |
---|---|
permlink | re-jesta-re-furion-re-jesta-an-experimental-script-for-running-ico-like-events-on-steem-201766t22332350z-20170607t102449355z |
category | steem-dev |
json_metadata | {"tags":["steem-dev"],"app":"steemit/0.1"} |
created | 2017-06-07 10:24:48 |
last_update | 2017-06-07 10:27:15 |
depth | 3 |
children | 1 |
last_payout | 2017-06-14 10:24:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 449 |
author_reputation | 116,503,940,714,958 |
root_title | "An experimental script for running ICO-like events on Steem" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 4,327,972 |
net_rshares | 0 |
The things you outlined are exactly what this does... ? It's a script that auto refunds and auto transfers. These solutions can absolutely be off chain - which I also outlined in my post. I didn't want to setup a database for this **experiment** so I choose to store the data on chain. I even outlined that these should be stored in an external index for scalability. > In any case, these solutions are off-chain, and I think that mimicking a smart contract is an engineering overkill. Overkill is fun to do some times :) I prefaced this whole thing stating this was an experiment and that I'm not even running the script for anything. I'm looking to spur discussion on how people could use the blockchain to accomplish fund raising, and provide some example scripts that might get peoples brains thinking. Nothin more!
author | jesta | ||||||
---|---|---|---|---|---|---|---|
permlink | re-furion-re-jesta-re-furion-re-jesta-an-experimental-script-for-running-ico-like-events-on-steem-201766t22332350z-20170607t102449355z-201767t122456585z | ||||||
category | steem-dev | ||||||
json_metadata | {"app":"chainbb/0.1","format":"markdown+html","tags":[]} | ||||||
created | 2017-06-07 16:24:57 | ||||||
last_update | 2017-06-07 16:28:21 | ||||||
depth | 4 | ||||||
children | 0 | ||||||
last_payout | 2017-06-14 16:24:57 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 825 | ||||||
author_reputation | 140,605,453,893,072 | ||||||
root_title | "An experimental script for running ICO-like events on Steem" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 4,346,937 | ||||||
net_rshares | 801,868,753 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
oneness | 0 | 801,868,753 | 100% |