Kapalı

Blockchain and Cryptocurrency project

Mr. Mark has written his will. According to his will if his son Jack successfully gets his undergrad degree then he will be entitled to get his share of money from Mr. Mark's wealth. If not, then the money will go to an NGO(that helps homeless) and Jack will get nothing.

For This purpose Mr. Mark, writes a smart contract and deploys it. Before deploying the smart contract Mr. Mark generated a password and divided it in two parts. He(Mr. Mark) gave the first part of the password to his son and another to his attorney. if Jack successfully graduates he can ask the attorney for the second part and withdraw the money. If deadline has passed, the attorney can share the password he has with the NGO and the NGO can withdraw the money and kill the contract.

The smart contract should (at least) have the following functions. Feel free to add more functions. Be innovative.

Smart Contract:

1: Constructor function

Constructor function should assign values to deadline, first and second part of the password as well as the amount of ethers to be given

2: Withdraw function:

Jack can only withdraw ethers if he has both parts of the password. He should also claim the amount before deadline

3: Cancel Withdraw:

The NGO can withdraw the money using the second part of the password after deadline and kill the contract.

Build a unit test, to test your withdraw function for two cases:

1: When both passwords are correct and deadline is not reached

2: When one or both pieces of password are incorrect and show that your function works accordingly.

UI

Build a simple user Interface where Jack can enter both pieces of the password and the address where he wants ethers/wei to be transfered. You can use any of ten testrpc addresses for this purpose except the first account ([login to view URL][0]). The UI should also have a button where upon clicking the button, Withdraw() function will be called in your contract.

Beceriler: Bitcoin, Blockchain, Kriptografi, Ethereum, Linux

Daha fazlasını gör: need project called hotel reservation system developed j2ee, project hospital management system possible use cases diagram, add free downloaded theme nopcommerce project, what is cryptocurrency, blockchain and cryptocurrency difference, cryptocurrency blockchain, cryptocurrency list, what is blockchain, blockchain explained, blockchain cryptocurrency explained, how cryptocurrency works, captcha nonvoice project correct entries, voice passwords project, display correct answer online exam project, need correct data project, authentication schemes session passwords using color images project, design project -- 3, design project 3, graphic design project 3, help with r programming project -- 3

İşveren Hakkında:
( 0 değerlendirme ) Manhattan beach, United States

Proje NO: #19331887

Bu iş için 4 freelancer ortalamada $35 teklif veriyor

johnsonandre4488

Hi there, Are you looking for someone to write an awe-inspiring article for your website? As a professional writer, I believe in the power of pure, original thinking and have a fierce passion for proper grammar for yo Daha Fazla

$70 USD in 3 gün içinde
(0 Değerlendirme)
0.0
gsala81

Hello, I am a Cryptocurrency and Blockchain Development Expert. I can provide solutions in creating new cryptocurrency from scratch, fork existing coins, Bitcoins, Blockchain Development, ICO launches, Cryptocurr Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
TechnoDerivation

Hello sir Thanks for posting job...!! We have vast experience on block chain development like token and smart contract development using solidity, Coin Development, ICO Development, exchange and trading platform Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)
0.0
$35 USD in 5 gün içinde
(0 Değerlendirme)
0.0