create account

RE: An experimental script for running ICO-like events on Steem by furion

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @jesta/an-experimental-script-for-running-ico-like-events-on-steem

· @furion · (edited)
$1.82
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.
👍  , , , , ,
properties (23)
authorfurion
permlinkre-jesta-an-experimental-script-for-running-ico-like-events-on-steem-20170607t021427919z
categorysteem-dev
json_metadata{"tags":["steem-dev"],"app":"steemit/0.1"}
created2017-06-07 02:14:27
last_update2017-06-07 02:15:00
depth1
children3
last_payout2017-06-14 02:14:27
cashout_time1969-12-31 23:59:59
total_payout_value1.512 HBD
curator_payout_value0.308 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length230
author_reputation116,503,940,714,958
root_title"An experimental script for running ICO-like events on Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,310,043
net_rshares474,720,242,512
author_curate_reward""
vote details (6)
@jesta ·
$1.81
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!



👍  , , , , , ,
properties (23)
authorjesta
permlinkre-furion-re-jesta-an-experimental-script-for-running-ico-like-events-on-steem-20170607t021427919z-201766t22332350z
categorysteem-dev
json_metadata{"app":"chainbb/0.1","format":"markdown+html","tags":[]}
created2017-06-07 02:33:24
last_update2017-06-07 02:33:24
depth2
children2
last_payout2017-06-14 02:33:24
cashout_time1969-12-31 23:59:59
total_payout_value1.630 HBD
curator_payout_value0.181 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length487
author_reputation140,605,453,893,072
root_title"An experimental script for running ICO-like events on Steem"
beneficiaries
0.
accountchainbb
weight1,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,310,746
net_rshares538,788,125,787
author_curate_reward""
vote details (7)
@furion · (edited)
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.
properties (22)
authorfurion
permlinkre-jesta-re-furion-re-jesta-an-experimental-script-for-running-ico-like-events-on-steem-201766t22332350z-20170607t102449355z
categorysteem-dev
json_metadata{"tags":["steem-dev"],"app":"steemit/0.1"}
created2017-06-07 10:24:48
last_update2017-06-07 10:27:15
depth3
children1
last_payout2017-06-14 10:24:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length449
author_reputation116,503,940,714,958
root_title"An experimental script for running ICO-like events on Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,327,972
net_rshares0
@jesta · (edited)
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!
👍  
properties (23)
authorjesta
permlinkre-furion-re-jesta-re-furion-re-jesta-an-experimental-script-for-running-ico-like-events-on-steem-201766t22332350z-20170607t102449355z-201767t122456585z
categorysteem-dev
json_metadata{"app":"chainbb/0.1","format":"markdown+html","tags":[]}
created2017-06-07 16:24:57
last_update2017-06-07 16:28:21
depth4
children0
last_payout2017-06-14 16:24:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length825
author_reputation140,605,453,893,072
root_title"An experimental script for running ICO-like events on Steem"
beneficiaries
0.
accountchainbb
weight1,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id4,346,937
net_rshares801,868,753
author_curate_reward""
vote details (1)