reef-defi / reef-chain

EVM compatible chain with NPoS/PoC consensus
https://docs.reef.io
GNU General Public License v3.0
135 stars 37 forks source link

integrate substrate-api-sidecar #33

Closed vae520283995 closed 2 years ago

vae520283995 commented 3 years ago

Hello, developers, do you have any plans to integrate reef into https://github.com/paritytech/substrate-api-sidecar? At present, exchanges are all tokens that integrate the substrate chain through substrate-api-sidecar

Netherdrake commented 3 years ago

Thanks for the suggestion, we will look into it

frisitano commented 2 years ago

This can probably be closed now @Netherdrake

jbargu commented 2 years ago

Download types.json, typesBundle.json from https://github.com/reef-defi/reef.js/tree/master/packages/type-definitions/src/json and then specify them in .env file for your sidecar instance as:

SAS_SUBSTRATE_TYPES_BUNDLE=<path>/typesBundle.json
SAS_SUBSTRATE_TYPES=<path>/types.json

and it will already work for you.