- This example relies on IPFS (https://ipfs.io/) so go ahead and follow the installation steps and run the ipfs daemon
ipfs daemon
- Let's write some smart contracts!
cd mtg/smart_contractstruffle initnpm initnpm install --save openzeppelin-solidity
- We'll create an npm link between our smart contract package, and our front end
cd mtg/smart_contractsnpm linkcd ../npm link smart_contracts
- Let's run our backend (so we can accept file uploads and hand them over to IPFS)
cd mtg/servernpm start
- And finally, let's run out frontend!
cd mtg/npm run start