SwayStar123 (OP)
Member
Offline
Activity: 77
Merit: 147
https://watchdominion.org
|
|
June 27, 2018, 05:19:29 PM Last edit: October 07, 2023, 12:26:11 PM by SwayStar123 |
|
x
|
|
|
|
KingScorpio
|
|
June 27, 2018, 05:33:03 PM |
|
A simple smart contract which does what the title says! "Help Me Hodl" it is for all the emotional traders who cant help but sell at a loss because of their emotions, even if they know its not the right choice This contracts takes whatever money you send to it and sends it back to you in exactly 2102000 blocks (approximately 1 year) so you can gain the full price appreciation without the limitations of your emotions smart contracts can easily be outdone, simply by removing funds out of the wallet that is interlinked with smart contracts, leaving an empty wallet behind. no way such a contract can then be enforced.
|
|
|
|
entropy0
Full Member
Offline
Activity: 412
Merit: 100
Que sera sera
|
|
June 29, 2018, 03:09:35 AM |
|
unless the funds are placed in an intermediary account
|
|
|
|
eternalgloom
Legendary
Offline
Activity: 1792
Merit: 1283
|
|
June 29, 2018, 08:51:05 AM |
|
I just do the same thing through coinb.in, it's reasonably easy and you can just set the locktime yourself. You can definitely turn something similar into a service, people would probably be interested in it. If you manage to build a service that does this, please update
|
|
|
|
mocacinno
Legendary
Offline
Activity: 3570
Merit: 5233
https://merel.mobi => buy facemasks with BTC/LTC
|
|
June 29, 2018, 12:42:32 PM Last edit: July 04, 2018, 11:05:25 AM by mocacinno |
|
I just do the same thing through coinb.in, it's reasonably easy and you can just set the locktime yourself. You can definitely turn something similar into a service, people would probably be interested in it. If you manage to build a service that does this, please update thats what i was thinking, most people dont know what locking and things like that are, so this is for them, and untill i learn to code this will just be a dream as i have no funds to hire someone to do it you don't need to hire somebody, like eternalgloom already said: if you don't know how to create a transaction manually, you can always use coinb.in - suft to coinb.in
- download their sourcecode
- unzip the sourcecode, open the index.html
- go to new => transaction
- enter a funded address for which you own the private key
- click on "advanced", enter a locktime
- as output, enter an address whose private key you also own... The value of the output should be the sum of the values of the inputs minus the fee*
- generate the unsigned transaction, save it on your disk, go offline
- open coinb.in's index.html again, click on sign
- paste your unsigned tx + private key, sign the transaction, save the signed transaction, reboot your pc, go back online
- use coinb.in or any other service that allows you to broadcast signed transactions to broadcast your transaction
* in order to calculate an appropriate fee, you can always use https://coinb.in/#feesEDIT on the 4th of june 2018: it seem like coinb.in might have some problems signing, it might be best to try out this procedure on the testnet* source: https://bitcointalk.org/index.php?topic=4594240.0;topicseen
|
|
|
|
Nanashev
Newbie
Offline
Activity: 75
Merit: 0
|
|
July 02, 2018, 11:11:19 AM |
|
I think if someone will love to HODL their bitcoin, they would be no need giving the coin out to any person or organisation. Before one invest in bitcoin, he or she must know that is a calculated risk and henceforth be ready to bear the consequence. For all i know most of these people or organisations who promise you HODL your bitcoins on your behalf and give you huge profits in addition are fraudsters. So please watch out!
|
|
|
|
bitcoinfuck
Full Member
Offline
Activity: 634
Merit: 106
Europe Belongs To Christians
|
|
July 02, 2018, 03:39:28 PM |
|
Even Bitcoin already support this features with nTimelock, CSV, CLTV or HTLC. You also can set the timestamp or block height for configure when the bitcoin is spendable.
I don't see the point of your thread.
it has point cause its on the ethereum, and small miners prefer ETH over BTC
|
|
|
|
eternalgloom
Legendary
Offline
Activity: 1792
Merit: 1283
|
|
July 03, 2018, 11:05:17 AM |
|
I just do the same thing through coinb.in, it's reasonably easy and you can just set the locktime yourself. You can definitely turn something similar into a service, people would probably be interested in it. If you manage to build a service that does this, please update thats what i was thinking, most people dont know what locking and things like that are, so this is for them, and untill i learn to code this will just be a dream as i have no funds to hire someone to do it you don't need to hire somebody, like eternalgloom already said: if you don't know how to create a transaction manually, you can always use coinb.in - suft to coinb.in
- download their sourcecode
- unzip the sourcecode, open the index.html
- go to new => transaction
- enter a funded address for which you own the private key
- click on "advanced", enter a locktime
- as output, enter an address whose private key you also own... The value of the output should be the sum of the values of the inputs minus the fee*
- generate the unsigned transaction, save it on your disk, go offline
- open coinb.in's index.html again, click on sign
- paste your unsigned tx + private key, sign the transaction, save the signed transaction, reboot your pc, go back online
- use coinb.in or any other service that allows you to broadcast signed transactions to broadcast your transaction
* in order to calculate an appropriate fee, you can always use https://coinb.in/#feesYeah indeed that's the process, but I can see that it could be a bit daunting for newbies. I could imagine that new users might misplace their redeem script or do not know how to get their public key. When I tried it for the first time, I made sure that I read everything twice just to not make any errors. This could be done a lot easier IMO.
|
|
|
|
Dilerium90
|
|
July 03, 2018, 11:17:38 AM |
|
A simple smart contract which does what the title says! "Help Me Hodl" it is for all the emotional traders who cant help but sell at a loss because of their emotions, even if they know its not the right choice This contracts takes whatever money you send to it and sends it back to you in exactly 2102000 blocks (approximately 1 year) so you can gain the full price appreciation without the limitations of your emotions Wow. That's really interesting way to "HODL" coins. I didn't know that. But is it have risk? I mean, when if there will be some changes in ecosystem, don't i lose my coins? And i will be very fun, when the price of the coin will go higher and you can't sell it.
|
|
|
|
eternalgloom
Legendary
Offline
Activity: 1792
Merit: 1283
|
|
July 03, 2018, 01:06:25 PM |
|
A simple smart contract which does what the title says! "Help Me Hodl" it is for all the emotional traders who cant help but sell at a loss because of their emotions, even if they know its not the right choice This contracts takes whatever money you send to it and sends it back to you in exactly 2102000 blocks (approximately 1 year) so you can gain the full price appreciation without the limitations of your emotions Wow. That's really interesting way to "HODL" coins. I didn't know that. But is it have risk? I mean, when if there will be some changes in ecosystem, don't i lose my coins? And i will be very fun, when the price of the coin will go higher and you can't sell it. What OP is suggesting doesn't actually exist you know... Not in the way he's describing it at least. OP_CHECKLOCKTIMEVERIFY (OP_HODL) is similar, but isn't recommended for far-future time locks. I think timelocks of a year should be fine, but any longer than that could spell disaster. More info here: https://en.bitcoin.it/wiki/Timelock#Far-future_locks
|
|
|
|
TryNinja
Legendary
Offline
Activity: 3010
Merit: 7441
Top Crypto Casino
|
|
July 03, 2018, 03:25:32 PM |
|
I dont know if its possible but maybe coins will be sent back once set profit is reached? like 700$ per coin or perhaps 30% profit? (increase in price atleast, not profit per say)
You can't do this without a third party. Who would set the price? 1 BTC is always 1 BTC.
|
|
|
|
TryNinja
Legendary
Offline
Activity: 3010
Merit: 7441
Top Crypto Casino
|
|
July 03, 2018, 04:31:41 PM |
|
again this is for ethereum not bitcoin, price would be taken from coinmarketcap, they have usd and btc value both, so you can use either to set
Sure... I think you should always make that clear. Keep in mind that you made this thread in the "Bitcoin -> Project Development" board. Which is why I always think you are talking about BTC and not ETH. Anyways, it's probably possible, but you will always rely on CoinMarketCap. What if they go down? Or if they ever put a fake price/bug out and show a higher/lower price? It's not ideal having to rely on a third party.
|
|
|
|
|