Constellation market on Blockchain
$ 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
Before compiling, static/data/credentials.json
should be provided following spec. Here is example:
{
"url": "http://ropsten.infura.io",
"contractAddr": "0xe00fDd5D31c11eACb3D016cC5f9459F81214895f",
"addr": "0xA408FCD6B7f3847686Cb5f41e52A7f4E084FD3cc",
"privkey": "11111111111111111111111111111111111111111111"
}
$ cd ethereum
# deploy stars only
$ node deploy.js
npm run test
$ npm run dev
// check from: localhost: 3000
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'