-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(coordinator): deploy subgraph from coordinator service
- [x] Add subgraph controller - [x] Add subgraph deploy service - [x] Remove app controller and use proof controller - [x] Add env variables
- Loading branch information
Showing
27 changed files
with
613 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ export enum ErrorCodes { | |
DECRYPTION = "4", | ||
ENCRYPTION = "5", | ||
FILE_NOT_FOUND = "6", | ||
SUBGRAPH_DEPLOY = "7", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { ErrorCodes } from "./errors"; | ||
export { ESupportedNetworks } from "./networks"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
export enum ESupportedNetworks { | ||
ETHEREUM = "mainnet", | ||
OPTIMISM = "optimism", | ||
OPTIMISM_SEPOLIA = "optimism-sepolia", | ||
BSC = "bsc", | ||
BSC_CHAPEL = "chapel", | ||
GNOSIS_CHAIN = "gnosis", | ||
FUSE = "fuse", | ||
POLYGON = "matic", | ||
FANTOM_OPERA = "fantom", | ||
ZKSYNC_ERA_TESTNET = "zksync-era-testnet", | ||
BOBA = "boba", | ||
MOONBEAM = "moonbeam", | ||
MOONRIVER = "moonriver", | ||
MOONBASE_ALPHA = "mbase", | ||
FANTOM_TESTNET = "fantom-testnet", | ||
ARBITRUM_ONE = "arbitrum-one", | ||
CELO = "celo", | ||
AVALANCHE_FUJI = "fuji", | ||
AVALANCHE = "avalanche", | ||
CELO_ALFAJORES = "celo-alfajores", | ||
HOLESKY = "holesky", | ||
AURORA = "aurora", | ||
AURORA_TESTNET = "aurora-testnet", | ||
HARMONY = "harmony", | ||
LINEA_SEPOLIA = "linea-sepolia", | ||
GNOSIS_CHIADO = "gnosis-chiado", | ||
MODE_SEPOLIA = "mode-sepolia", | ||
MODE = "mode-mainnet", | ||
BASE_SEPOLIA = "base-sepolia", | ||
ZKSYNC_ERA_SEPOLIA = "zksync-era-sepolia", | ||
POLYGON_ZKEVM = "polygon-zkevm", | ||
ZKSYNC_ERA = "zksync-era", | ||
ETHEREUM_SEPOLIA = "sepolia", | ||
ARBITRUM_SEPOLIA = "arbitrum-sepolia", | ||
LINEA = "linea", | ||
BASE = "base", | ||
SCROLL_SEPOLIA = "scroll-sepolia", | ||
SCROLL = "scroll", | ||
BLAST_MAINNET = "blast-mainnet", | ||
ASTAR_ZKEVM_MAINNET = "astar-zkevm-mainnet", | ||
SEI_TESTNET = "sei-testnet", | ||
BLAST_TESTNET = "blast-testnet", | ||
ETHERLINK_TESTNET = "etherlink-testnet", | ||
XLAYER_SEPOLIA = "xlayer-sepolia", | ||
XLAYER_MAINNET = "xlayer-mainnet", | ||
POLYGON_AMOY = "polygon-amoy", | ||
ZKYOTO_TESTNET = "zkyoto-testnet", | ||
POLYGON_ZKEVM_CARDONA = "polygon-zkevm-cardona", | ||
SEI_MAINNET = "sei-mainnet", | ||
ROOTSTOCK_MAINNET = "rootstock", | ||
IOTEX_MAINNET = "iotex", | ||
NEAR_MAINNET = "near-mainnet", | ||
NEAR_TESTNET = "near-testnet", | ||
COSMOS = "cosmoshub-4", | ||
COSMOS_HUB = "theta-testnet-001", | ||
OSMOSIS = "osmosis-1", | ||
OSMO_TESTNET = "osmo-test-4", | ||
ARWEAVE = "arweave-mainnet", | ||
BITCOIN = "btc", | ||
SOLANA = "solana-mainnet-beta", | ||
INJECTIVE_MAINNET = "injective-mainnet", | ||
INJECTIVE_TESTNET = "injective-testnet", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 10 additions & 9 deletions
19
coordinator/ts/app.controller.ts → coordinator/ts/proof/proof.controller.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Module } from "@nestjs/common"; | ||
|
||
import { CryptoModule } from "../crypto/crypto.module"; | ||
import { FileModule } from "../file/file.module"; | ||
|
||
import { ProofController } from "./proof.controller"; | ||
import { ProofGeneratorService } from "./proof.service"; | ||
|
||
@Module({ | ||
imports: [FileModule, CryptoModule], | ||
controllers: [ProofController], | ||
providers: [ProofGeneratorService], | ||
}) | ||
export class ProofModule {} |
Oops, something went wrong.