stackrlabs / docs

Docs for using Stackr's Micro-Rollup SDK
https://docs.stf.xyz
0 stars 2 forks source link

L1RPC issue #30

Open rowlanja opened 2 months ago

rowlanja commented 2 months ago

when running stackr register I get : rowla@LAPTOP-FC4R3S9N:~/rollup/dex$ npx @stackr/cli@latest register Error: Please check L1RPC in stackr.config.ts

aashutoshrathi commented 2 months ago

Hey! What L1RPC are you using? Do you have a .env file with the correct values?

rowlanja commented 2 months ago

Hey I am using the recommended config found here : https://docs.stf.xyz/build/references/providers-and-rpc/ and running on windows WSL2

aashutoshrathi commented 2 months ago

We'll need more information than that, as most probably either the .env is configured correctly, or the RPC for L1 is incorrect, can you share these files or setup over Discord or email?

rowlanja commented 2 months ago

I had to directly paste values in the stackr.config.ts for register command to work. Deploy command is still failing with : " Error: Invalid Vulcan URL. Please check if the vulcanRPC is set correctly in stackr.config.ts "

aashutoshrathi commented 2 months ago

Is you .env file named something else? Ref

rowlanja commented 2 months ago

No its named properly, and filled out with : PRIVATE_KEY=... VULCAN_RPC=https://sepolia.vulcan.stf.xyz L1_RPC=https://rpc2.sepolia.org REGISTRY_CONTRACT=0x985bAfb3cAf7F4BD13a21290d1736b93D07A1760 NODE_ENV=development DATABASE_URI=./db.sqlite but I still see : Error: Invalid Vulcan URL. Please check if the vulcanRPC is set correctly in stackr.config.ts

aashutoshrathi commented 2 months ago

can you check if https://sepolia.vulcan.stf.xyz/ works in your browser? Also, can you raise a ticket on our discord would be a better place to track this

aashutoshrathi commented 2 weeks ago

Hey @rowlanja, did that issue resolve for you?