@@ -198,6 +198,9 @@ var (
198
198
monadDevnetRPC * string
199
199
monadDevnetContract * string
200
200
201
+ inkRPC * string
202
+ inkContract * string
203
+
201
204
sepoliaRPC * string
202
205
sepoliaContract * string
203
206
@@ -415,6 +418,9 @@ func init() {
415
418
baseRPC = node .RegisterFlagWithValidationOrFail (NodeCmd , "baseRPC" , "Base RPC URL" , "ws://eth-devnet:8545" , []string {"ws" , "wss" })
416
419
baseContract = NodeCmd .Flags ().String ("baseContract" , "" , "Base contract address" )
417
420
421
+ inkRPC = node .RegisterFlagWithValidationOrFail (NodeCmd , "inkRPC" , "Ink RPC URL" , "ws://eth-devnet:8545" , []string {"ws" , "wss" })
422
+ inkContract = NodeCmd .Flags ().String ("inkContract" , "" , "Ink contract address" )
423
+
418
424
arbitrumSepoliaRPC = node .RegisterFlagWithValidationOrFail (NodeCmd , "arbitrumSepoliaRPC" , "Arbitrum on Sepolia RPC URL" , "ws://eth-devnet:8545" , []string {"ws" , "wss" })
419
425
arbitrumSepoliaContract = NodeCmd .Flags ().String ("arbitrumSepoliaContract" , "" , "Arbitrum on Sepolia contract address" )
420
426
@@ -799,6 +805,7 @@ func runNode(cmd *cobra.Command, args []string) {
799
805
* snaxchainContract = checkEvmArgs (logger , * snaxchainRPC , * snaxchainContract , "snaxchain" , true )
800
806
* unichainContract = checkEvmArgs (logger , * unichainRPC , * unichainContract , "unichain" , false )
801
807
* worldchainContract = checkEvmArgs (logger , * worldchainRPC , * worldchainContract , "worldchain" , true )
808
+ * inkContract = checkEvmArgs (logger , * inkRPC , * inkContract , "ink" , false )
802
809
803
810
// These chains will only ever be testnet / devnet.
804
811
* sepoliaContract = checkEvmArgs (logger , * sepoliaRPC , * sepoliaContract , "sepolia" , false )
@@ -916,6 +923,7 @@ func runNode(cmd *cobra.Command, args []string) {
916
923
rpcMap ["ibcWS" ] = * ibcWS
917
924
rpcMap ["injectiveLCD" ] = * injectiveLCD
918
925
rpcMap ["injectiveWS" ] = * injectiveWS
926
+ rpcMap ["inkRPC" ] = * inkRPC
919
927
rpcMap ["karuraRPC" ] = * karuraRPC
920
928
rpcMap ["klaytnRPC" ] = * klaytnRPC
921
929
rpcMap ["lineaRPC" ] = * lineaRPC
@@ -1403,6 +1411,18 @@ func runNode(cmd *cobra.Command, args []string) {
1403
1411
watcherConfigs = append (watcherConfigs , wc )
1404
1412
}
1405
1413
1414
+ if shouldStart (inkRPC ) {
1415
+ wc := & evm.WatcherConfig {
1416
+ NetworkID : "ink" ,
1417
+ ChainID : vaa .ChainIDInk ,
1418
+ Rpc : * inkRPC ,
1419
+ Contract : * inkContract ,
1420
+ CcqBackfillCache : * ccqBackfillCache ,
1421
+ }
1422
+
1423
+ watcherConfigs = append (watcherConfigs , wc )
1424
+ }
1425
+
1406
1426
if shouldStart (terraWS ) {
1407
1427
wc := & cosmwasm.WatcherConfig {
1408
1428
NetworkID : "terra" ,
0 commit comments