diff --git a/apollo/.env.prod b/apollo/.env.prod index 2b30d8a8..4fc11bb2 100644 --- a/apollo/.env.prod +++ b/apollo/.env.prod @@ -33,5 +33,6 @@ OP_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-op/v1.0.0 GNOSIS_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-gnosis/v1.0.0 MANTLE_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/mantle SCROLL_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-scroll/v1.0.0 +DARWINIA_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/darwinia CHAIN_TYPE=formal diff --git a/apollo/src/lnv3/transfer.service.ts b/apollo/src/lnv3/transfer.service.ts index 220e9338..96fd09a9 100644 --- a/apollo/src/lnv3/transfer.service.ts +++ b/apollo/src/lnv3/transfer.service.ts @@ -15,6 +15,7 @@ export class TransferService extends BaseTransferServiceT2 { private readonly gnosisEndpoint = this.configService.get('GNOSIS_LNV3_ENDPOINT'); private readonly mantleEndpoint = this.configService.get('MANTLE_LNV3_ENDPOINT'); private readonly scrollEndpoint = this.configService.get('SCROLL_LNV3_ENDPOINT'); + private readonly darwiniaEndpoint = this.configService.get('DARWINIA_LNV3_ENDPOINT'); formalChainTransfers: PartnerT2[] = [ { @@ -118,6 +119,10 @@ export class TransferService extends BaseTransferServiceT2 { { chain: 'scroll', channel: 'layerzero', + }, + { + chain: 'darwinia-dvm', + channel: 'msgline', } ] }, @@ -390,6 +395,27 @@ export class TransferService extends BaseTransferServiceT2 { channel: 'layerzero', } ] + }, + { + chainId: 46, + chain: 'darwinia-dvm', + url: this.darwiniaEndpoint, + bridge: 'lnv3', + symbols: [ + { + key: 'RING', + symbol: 'RING', + address: '0x0000000000000000000000000000000000000000', + protocolFee: 30000000000000000000, + decimals: 18, + } + ], + channels: [ + { + chain: 'arbitrum', + channel: 'msgline', + }, + ] } ];