Develop an ethereum smart contract for storing hashes (strings)
€30-250 EUR
Закрито
Опублікований almost 6 years ago
€30-250 EUR
Оплачується при отриманні
The goal of this project is to create a smart contract for storing hashes(strings) in the blockchain and rewarding tokens for each submission. Hashes and hash infos
are to be publicly accessed without execution of functions on the smart contract (use mappings).
The reward system is based on voting and the tokens are created once each hash reaches a minimum amount of positive feedback.
The project is for educational purposes but it should be built with safety concerns as if it were a final product. (with safe adds, etc...)
The smart contract needs to be upgradeable by the contract creator to a newer version if necessary.
The functions to develop are as follows:
addHash(string hash, string name)
addReview(string hash,string comment, bool feedback)
deleteHash(string hash)
any user, except the hash's submitter, can review a hash, giving it a positive or negative (like or dislike) and providing a comment.
Once a hash is at 5 positive comments, a token is created and sent to the hash submiter. (one token, one time only per hash. if a hash reaches 5, the owener receives a
token, but if it goes to 4 and then to 5 again it wo'n be issued a new token again).
any user can add hashes to the smart contract.
Every hash is unique
Hash's owner can't provide feedback for itself.
Each user can only provide feedback one time for each hash
anyone can delete a hash(even if he isn't the owner) by spending 10 tokens and the tokens are burnt from existence.
other standard functions such as transfer tokens and create tokens(only the contract creator can create new tokens) need also to be implemented.
Hello, i'm a solidity and dapp developer.
Your contract seems to be very interesting, i would like to work in this project.
There is only one thing, do you want only one contract that manages tokens and your "hash review", that will be great for educational porpuses, but should be separated (token contract + hash review) if you want to get it working in a serious environment, will work the same but the code will be cleaner for the people who like to view it on etherscan
Feel free to send a message if you have any question
Did similar work before, need discussion
Here is an example of erc20 smart contract
0x58646fF346611466781148b4C5F6fba610d98b66
We can talk more over chat
I am into open source web development for more than 10 years and have been exploring blochchain lately. I have done some ethereum + solidity POC’s of my own as learning and would like to take this up at very low rate.
I am still learning but from what I have learnt so far I am confident of getting this done.
Looking forward to hear from you.
Hi,
I have worked on building decentralised web applications before using Ethereum particularly while experimenting with the idea of an Ethereum backed version of Kickstarter.
I have also implemented tokens using the ERC20 and ERC827 standards and I am looking to learn more.
I am very passionate about blockchain technology and it's various uses and so I would like to help you achieve your goals as soon as possible.
PS. I have already taken a look at your requirements and drafted up a quick prototype of the solution I have in mind.
If interested please get back to me.
Sincerely,
Jacob Ujanga