Closed LeoFraq closed 1 year ago
As of latest commit the code builds and runs "correctly"
I re-added some files because there is no need to hide those. However I can't run it locally.
When I follow the steps in the README, sqd up
fails for me with
$ sqd up
UP
Error: spawn docker-compose ENOENT
Code: ENOENT
Note that I also had to install sqd
as a global package with npm because the brew
build was corrupt somehow.
@LeoFraq are you able to get it running with the steps in "Getting started"?
@ebma I actually used the instructions in bifrost's example which worked for me. not sure if they changed between @RustNinja 's changes or if theres any difference
So all of these commands
# 1. Install dependencies
npm ci
# 2. Compile typescript files
make build
# 3. Start target Postgres database and detach
make up
# 4. Start the processor
make process
# 5. The command above will block the terminal
# being busy with fetching the chain data,
# transforming and storing it in the target database.
#
# To start the graphql server open the separate terminal
# and run
make serve
worked for you @LeoFraq ?
I started re-adding also the code/events related to bifrosts farming pallet as we recently decided to use that pallet for our AMM LP rewards. Still WIP though
I want to get this PR and branch out of the way. Unfortunately, it became quite large and also contains changes unrelated to Bifrost. I will merge these changes to main
so that we can start anew and create a cleaner process for this repo next.
This PR is an attempt at generating all the zenlink necessary classes from the bifrost example.
This has been done iteratively so as to create only the (supposedly) necessary files and modules.
Do note that you will need to regenerate everything under lib/ and src/model/generated as by the readme
Besides that, I'd say the relevant parts are all under