Creator is a decentralized web application that allows user to store a person along with their details like Age, Name, Email in a Array that is present in blockchain.
This dapp is currently depolyed on Rinkeby Network. Truffle and Ganache was used to develop this application.
Truffle is a world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier.
Ganache is a personal blockchain for rapid Ethereum and Corda distributed application development. You can use Ganache across the entire development cycle; enabling you to develop, deploy, and test your dApps in a safe and deterministic environment.
User needs to connect to Metamask to perform. Incase of metamask is not installed, 'Install Metamask' button will appeared instead of 'Connect' button.
-
Add Creator : This function allows user to Add a creator with age, name and email into a Array.
-
Remove Creator(Only Owner) : This function allows user to remove a certain person using index value.
-
Get Creator : This function allows contract owner to get all creator stored in a Array.
-
Find By Name(Only Owner) : This function allow contract owner to find a Creator using a Name of a Creator.
-
Get Hash : This function allow user to find a Hash(keccak256) of a Creator.
-
Find by Hash : This function allow user to find a Creator using a Hash key.
If you want to try this dapp in your loacl machine. (Assuming, you are familier with Truffle and Ganache)
- Clone this Repostiory in your machine.
- Open terminal inside a root folder of project.
- Run 'yarn' to install all dependencies required to run project in your machine.
- Run 'yarn dev' to run a project in LocalHost.
- Change the Network ID in .env.development to Ganache's network id.
- Change the network to LocalHost in your metamask also which should be connected to Ganache.
This decentralized web application is deployed using a Vercel. Here is link: https://creators-ebon.vercel.app/