From 7f42db54850ed7c7693e02014ebcae89ebe5ba08 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Fri, 22 Nov 2024 12:11:00 -0600 Subject: [PATCH] WIP: chainhub stuff --- packages/fast-usdc/src/fast-usdc.contract.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/fast-usdc/src/fast-usdc.contract.js b/packages/fast-usdc/src/fast-usdc.contract.js index 952d26480d1..76be0911271 100644 --- a/packages/fast-usdc/src/fast-usdc.contract.js +++ b/packages/fast-usdc/src/fast-usdc.contract.js @@ -249,6 +249,14 @@ export const contract = async (zcf, privateArgs, zone, tools) => { }, }); + // populate local ChainHub + await vowTools.when( + vowTools.all([ + tools.chainHub.getChainsAndConnection('agoric', 'noble'), + tools.chainHub.getChainsAndConnection('dydx', 'noble'), + tools.chainHub.getChainsAndConnection('osmosis', 'noble'), + ]), + ); await settlerKit.creator.monitorMintingDeposits(); return harden({ creatorFacet, publicFacet });