Fully decentralized || 'Pure' DApp
Uploads a game to IPFS and stores the location on the Ethereum network
- Upload a folder with all the assets contained inside
- Folder must contain a runnable index.html
- Folder must contain a description in description.txt
- Folder must contain a image in image.png
- npm install
- npm start
- npm test
While writing tests, it's best to;
In separate terminals:
- npm run ganache
- npm run start
- npm run test:dev
Start ipfs with 'ipfs daemon --enable-pubsub-experiment'
Run:
- npm run deploy
If the tests fail, replace the TEST variable in src/constants/constants.js with null
Always use "" for strings in src/constants/constants.js
Update submodules with 'git submodule update --recursive --remote'
List all ports
netstat -a -o -n
Kill ports in use
kill pid
Remove all files from IPFS
ipfs pin ls --type recursive | cut -d' ' -f1 | xargs -n1 ipfs pin rm
ipfs repo gc