forked from cerc-io/stack-orchestrator
cf039d9562
* Add a fixturenet-payments stack * Export the WebSocket port in fixturenet-eth-geth service * Add container to run a go-nitro node * Add container to deploy Nitro contracts * Read contract addresses from a volume when running the Nitro node * Add a service for Nitro reverse payment proxy * Expose payment proxy endpoint to be accessible from host * Map nitro node messaging and payment proxy ports to host * Use container to deploy Nitro contracts in mobymask-v3 stack * Use a common contract deployment script from mobymask-v3 stack * Add MobyMask contract deployment and watcher services * Fixes for contract deployment and watcher scripts * Add a container and service for mobymask-snap * Add MobyMask app service * Add container and service for a ponder app * Fix ponder setup and update instructions * Handle review comments * Use enablepaidrpcmethods flag in reverse payment proxy server * Update go-nitro branch * Fixes for mobymask-v3 stack --------- Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
import type { Config } from "@ponder/core";
|
|
|
|
import contractAddresses from "./nitro-addresses.json";
|
|
|
|
export const config: Config = {
|
|
networks: [
|
|
{
|
|
name: "fixturenet",
|
|
chainId: Number(process.env.PONDER_CHAIN_ID),
|
|
rpcUrl: process.env.PONDER_RPC_URL_1,
|
|
maxRpcRequestConcurrency: 1,
|
|
},
|
|
],
|
|
contracts: [
|
|
{
|
|
name: "AdventureGold",
|
|
network: "fixturenet",
|
|
abi: "./abis/AdventureGold.json",
|
|
address: "0x32353A6C91143bfd6C7d363B546e62a9A2489A20",
|
|
startBlock: 5,
|
|
maxBlockRange: 100,
|
|
},
|
|
],
|
|
nitro: {
|
|
privateKey: process.env.CERC_PONDER_NITRO_PK!,
|
|
chainPrivateKey: process.env.CERC_PONDER_NITRO_CHAIN_PK!,
|
|
chainURL: process.env.CERC_PONDER_NITRO_CHAIN_URL!,
|
|
contractAddresses,
|
|
relayMultiAddr: process.env.CERC_RELAY_MULTIADDR!,
|
|
store: "./.ponder/nitro-db",
|
|
rpcNitroNode: {
|
|
address: process.env.CERC_UPSTREAM_NITRO_ADDRESS!,
|
|
multiAddr: process.env.CERC_UPSTREAM_NITRO_MULTIADDR!,
|
|
},
|
|
payAmount: process.env.CERC_UPSTREAM_NITRO_PAY_AMOUNT!,
|
|
},
|
|
};
|