Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Setup Voyager local to point to devnet #60

Closed
clacladev opened this issue Mar 22, 2022 · 4 comments
Closed

Setup Voyager local to point to devnet #60

clacladev opened this issue Mar 22, 2022 · 4 comments

Comments

@clacladev
Copy link

Hello team,
I tried to run the voyager-local as described here https://voyager.online/local-version/ but it's lacking the info about how to point it to the currently running devnet on the same machine.

Maybe it's just me not being prepared enough on Docker, but can you help with the launch command for the docker voyager-local?

Thanks a lot!

@FabijanC
Copy link
Collaborator

Hi, thanks for the issue.

@badurinantun Could we expand our Readme section on this?

@badurinantun
Copy link
Contributor

I wasn't able to set it up, as there were some other priorities on my plate :)

There a couple of requirements:

  • Ganche or some alternative running (RPC URL)
  • Devnet running (STARKNET_DEVNET)
  • docker must be ran with --network="host

Example:

docker run -itd --name=voyager -p 8800:8800 \
   --network="host" \
   -e STARKNET_ENDPOINT=http://127.0.0.1:5000 \
   -e RPC_URL=http://127.0.0.1:8545 \
   ghcr.io/demerzelsolutions/voyager:latest

What's missing is CONTRACT_ADDRESS and L1_START_BLOCK, which is where I had to stop my research.
@ccarnino you can pick up from there or I can update you once I resume my work.

@clacladev
Copy link
Author

Thanks but I am out of my element with docker. And I am trying to juggle already 3 different problems at the same time 😄

@FabijanC
Copy link
Collaborator

FabijanC commented Apr 11, 2022

Apparently this cannot be setup, as noted here by Lucas from Starkware: https://discord.com/channels/793094838509764618/960813841103593502

Why so?

because to run an instance of voyager you have to input a L1 rpc node with a starknet core contract that would need to verify L2

This can't be reproduced with Ganache and mock of core contract?

In theory yes but I assume that you'd have to send the L2 proofs to the ganache L1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants