Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run interBTC parachain locally #1

Closed
3 tasks
TorstenStueber opened this issue Mar 15, 2022 · 2 comments
Closed
3 tasks

Run interBTC parachain locally #1

TorstenStueber opened this issue Mar 15, 2022 · 2 comments
Milestone

Comments

@TorstenStueber
Copy link
Contributor

TorstenStueber commented Mar 15, 2022

Run the interBTC parachain code locally.

  • add to a local relay chain
  • manage to compile locally (fix clang errors)
  • figure out what services from interbtc-clients to run in addition
@ebma
Copy link
Member

ebma commented Mar 17, 2022

The interbtc chain does not have to be run as a parachain. You can compile and run it as a standalone chain so that it is not necessary to go through the parachain registration process etc.

The clang errors can be fixed on macOS by installing llvm (brew install llvm) and then running the cargo build commands with proper environment variables i.e. AR=/usr/local/opt/llvm/bin/llvm-ar CC=/usr/local/opt/llvm/bin/clang cargo build --features=standalone-metadata. I'm not sure if this also fixes the issue on other platforms though.

The interbtc-clients repository contains basically three applications: faucet, oracle, and vault/relayer.
To my understanding the oracle application can be run to feed the on-chain oracle with data on exchange rates.
The faucet can be used to facilitate automatic funding of the vault. But this is not necessary.
The vault application contains the relayer and also has other responsibilities (list here).

The interbtc chain can run without all the interbtc-client apps i.e. it does not crash or error, however in order to function properly it is probably necessary to run at least one oracle and vault/relayer in addition to the chain.

I added more info about running everything on the notion page.

@ebma ebma moved this from Backlog to In Progress in Pendulum Board Mar 22, 2022
@gonzamontiel
Copy link
Contributor

Closing this since it's already achieved. More details in the notion page stated above.

Repository owner moved this from Doing to Done in Pendulum Board Apr 21, 2022
@gonzamontiel gonzamontiel added this to the Web3 - M1 milestone May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants