We forked from Polkamarkets to build SOSMarkets. SOSMarkets is an Autonomous Prediction Market Protocol built for Ethereum.
- Ruby (
ruby 2.6.6 with rbenv
)
Databases:
To allow env vars to be used in ruby:
git clone https://github.com/The-OpenDAO/sos-market-api.git
cd sos-market-api
- Create
.envrc
file with env vars
direnv allow
bundle install
rails db:create
rails db:migrate
rails eth:sync_db # syncs data from smart contract to local database
rails s