The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/solidity/optics-core/js/deployOptics.js

20 lines
670 B

const utils = require('./deployOpticsUtils');
// TODO: #later explore bundling these deploys into a single transaction to a bespoke DeployHelper contract
/*
* Deploy, initialize, and configure the entire
* suite of Optics contracts for a single chain
* specified by the config information
*
* @param local - a single ChainConfig for the local chain
* @param remotes - an array of ChainConfigs for each of the remote chains
*
* @return contracts - OpticsContracts type for the suite of Optics contract on this chain
*/
async function deployOptics(local, remotes) {
return utils.devDeployOptics(local, remotes, false);
}
module.exports = {
deployOptics,
};