Constellation market on Ethereum & Metadium Blockchain for Metadium demo App purpose.
$ npm install
$ cd metastellar
$ ruby generate_star_seeds.rb
"Constellation Generated."
# for test purpose -> generate 5 stars only
$ ruby generate_star_seeds.rb -test
"Test Constellation Generated."
$ cd metastellar
$ ruby generate_search_seeds.rb
cd ethereum
node compile.js
# generates ethereum/build/MetaStellar.json
static/data/credentials.json You can set your basic credentials here.
$ cd ethereum
# deploy contract & stars to mainnet through infura
$ node deploy.js network=mainnet contract
# deploy stars only to rinkeby through infura
$ node deploy.js network=rinkeby
# deploy stars only to metadium through metadium_api
$ node deploy.js network=metadium
# deploy stars only to ropsten through infura
$ node deploy.js
npm run test
$ npm run dev
// check from: localhost: 3000
Deploy procedure
cd metastellar
sudo service nginx restart
npm run build
pm2 start npm -- start
- React for Front-end application.
- Semantic UI for UI framework.
- Next.js for routing & server-side rendering.
- VirtualSky for constellation draw.
- Solidity for Ethereum smart contract.
- Mocha for testing.
- React Alert module from 'react-s-alert'