This readme describes how to run Abstract API via docker and how to pass custom network configurations.
Firstly, prepare a set of the networks you're planning to pass to the API instance. Such should conform the schema {[chainId]:{ rpc: string; versionControl: string }}
.
In chainId
parameter you must specify the chain id which will hold the following properties:
In rpc
parameter you must specify network RPC URL.
In versionControl
parameter you must specify the address of Version Control contract deployed in that network.
I.e: { "phoenix-1": {"rpc":"https://rpc-proxy.abstract-os.workers.dev/phoenix-1/rpc","versionControl":"terra1hstp8gfjlg2reet90mgada3h8n9jf2d7tnd9r554h0d0q95lgq5q2fhp8v"}}