Polkamarkets is an Autonomous Prediction Market Protocol built for cross-chain information exchange and trading, based on Polkadot.
- Ruby (
ruby 2.6.6 with rbenv
)
Databases:
To allow env vars to be used in ruby:
git clone [email protected]:Polkamarkets/polkamarkets-api.git
cd polkamarkets-api
- Create
.envrc
file with env vars
direnv allow
bundle install
rails db:create
rails db:migrate
rails markets:check_new_markets # syncs data from smart contract to local database
rails s