Skip to content

PaddyMc/ipfs-game-uploader

Repository files navigation

Indie game uploader

Fully decentralized || 'Pure' DApp

Uploads a game to IPFS and stores the location on the Ethereum network


Upload rules

  • 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

To run

  • npm install
  • npm start

To test

  • npm test

While writing tests, it's best to;

In separate terminals:

  • npm run ganache
  • npm run start
  • npm run test:dev

To upload productive fully decentralized app

Start ipfs with 'ipfs daemon --enable-pubsub-experiment'

Run:

  • npm run deploy

Beware of dragons

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'


Tips

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


About

Ethereum and IPFS indie game uploader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published