These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Node.js runtime environment is required.
Install all required dependencies
$ npm install
Install truffle
$ npm install -g truffle
-
Open a Terminal window, and make sure you are inside your project directory
-
Run the command
truffle develop
(to run a local ethereum network) -
Use the command
compile
(to compile your solidity contract files) -
Use the command
migrate --reset
(to deploy your contract to the locally running ethereum network) -
Use the command
test
(to unit tests the contract) -
For running the Front End of the DAPP, open another terminal window and go inside the project directory, and run:
cd app
npm run dev
Setup Infura
Copy project id and paste in truffle-config.js file
Add metamask seed in truffle-config.js file
truffle migrate --reset --network rinkeby
Truffle version used:
5.0.24
OpenZeppelin version used:
2.3.0
ERC-721 Token Name:
CryptoStar
ERC-721 Token Symbol:
USD
Contract Address:
0x966FB329656199108f3B099AaB0a108cF2066134
- web3.js - web3.js is a collection of libraries which allow you to interact with a local or remote Ethereum node, using an HTTP, WebSocket or IPC connection.
- Truffle - A development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM).
- Infura - Provide secure, reliable, and scalable access to Ethereum and IPFS. It also provide the infrastructure for your decentralized applications so you can focus on the features.
- Metamask - A bridge that allows you to visit the distributed web of tomorrow in your browser today. It allows you to run Ethereum dApps right in your browser without running a full Ethereum node.