This project aims to provide a dapp that works as a Trustee. Allowing to leave digital assets to somebody else as inheritance. read more
// Ethereum Address
0x13fd35d781550def2ffb86a7e1da4cc6782dee30;
- Frontend deployed using Github Pages https://xheuz.github.io/blockchain-developer-bootcamp-final-project/
- Backend deployed on testnet
https://www.loom.com/share/6adbb17fe51c41cf9ec9875fd5dadde2
https://www.loom.com/share/f89ee036dde54eafa5b738f51e160ee1
truffle unbox react
is used as scaffold for this project:
root
|__ client //frontend of the project
|__ public //client entry point
|__ ...
|__ src //client source code
|__ ...
|__ ...
|__ package.json
|__ contracts //solidity contracts
|__ ...
|__ migrations //migrations for solidity contracts
|__ ...
|__ scripts //bash scripts for install dependencies, deploy and running test
|__ ...
|__ test //tests for solidity contracts
|__ ...
|__ avoiding_common_attacks.md //describes protection implemented for common attacks
|__ deployed_address.txt //ethereum contract addresses related to contract in testnet
|__ design_pattern_decisions.md //describes which patterns were used
|__ .gitattributes
|__ .gitignore
|__ LICENSE
|__ package.json //npm dependencies
|__ README.md
|__ truffle-config.js //truffle auto-generated config file
Check complete environment used here
- Check node version
> node --version
v16.1.0
Installation of git is assumed.
- Install truffle globally
npm install -g [email protected]
- Install ganache-cli globally
npm install -g [email protected]
- Clone the project
git clone [email protected]:xheuz/blockchain-developer-bootcamp-final-project.git xheuz-project
- Go to project directory
cd xheuz-project
- Install dependencies
npm install # or yarn
- Go to client directory and install dependencies
cd client
- Install dependencies
npm install # or yarn
- From the root of the project
truffle test
-
Open Ganache UI and setup a local testnet on port
8545
-
From the root of the project, migrate from the cli.
truffle migrate --network develop
- From the root of the project, go to client directory
cd client
- Start client
npm run start # or yarn start
- Stat using the project on http://localhost:3000/