diff --git a/.env.sample b/.env.sample index 25b45f65..e7cf424a 100644 --- a/.env.sample +++ b/.env.sample @@ -1,13 +1,14 @@ # WEB3 CREDENTIALS -ALCHEMY_API = your_alchemy_id -INFURA_PROJECT_ID = your_infura_id -INFURA_PROJECT_SECRET = your_infura_secret -ETHERSCAN_API = your_ETHERSCAN_API -POLYGONSCAN_API = your_polygonscan_api -OPTIMISM_API = your_optimism_api -ARBISCAN_API = your_arbitrum_api -BNBSCAN_API = your_bnbscan_api - +ALCHEMY_API=your_alchemy_id +INFURA_PROJECT_ID=your_infura_id +INFURA_PROJECT_SECRET=your_infura_secret +ETHERSCAN_API=your_ETHERSCAN_API +POLYGONSCAN_API=your_polygonscan_api +OPTIMISM_API=your_optimism_api +ARBISCAN_API=your_arbitrum_api +BNBSCAN_API=your_bnbscan_api +FUSE_API=your_fuse_api + # FILE SYSTEM PATHS FS_ARTIFCATS=artifacts FS_DEPLOYMENT_INFO=deployment_info diff --git a/hardhat.config.js b/hardhat.config.js index 6edb891a..e95df588 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -152,7 +152,13 @@ module.exports = { } }, - //Fuse testnet + //Fuse Mainnet + fuse:{ + url:"https://rpc.fuse.io", + accounts: [process.env.PRIVATE], + }, + + //Fuse Testnet fuseSpark:{ url:"https://rpc.fusespark.io", accounts: [process.env.PRIVATE], @@ -165,6 +171,7 @@ module.exports = { polygon: process.env.POLYGONSCAN_API, sepolia:process.env.ETHERSCAN_API, goerli:process.env.ETHERSCAN_API, + fuse: process.env.FUSE_API, fuseSpark: process.env.FUSE_API }, customChains: [ @@ -177,6 +184,15 @@ module.exports = { }, }, + { + network: "fuse", + chainId: 122, + urls:{ + apiURL: "https://explorer.fuse.io/api", + browserURL: "https://explorer.fuse.io/", + } + }, + { network: "fuseSpark", chainId: 123, diff --git a/scripts/versioncontrol/2_deployEPNSCommV1.config.js b/scripts/versioncontrol/2_deployEPNSCommV1.config.js index aacd9776..eaec0e5b 100644 --- a/scripts/versioncontrol/2_deployEPNSCommV1.config.js +++ b/scripts/versioncontrol/2_deployEPNSCommV1.config.js @@ -1,46 +1,49 @@ const deploy = { network: { mainnet: { - version: 1, + version: 1 }, goerli: { - version: 1, + version: 1 }, polygon: { - version: 1, + version: 1 }, polygonMumbai: { - version: 1, + version: 1 }, bnbTestnet: { - version: 1, + version: 1 }, bnbMainnet: { - version: 1, + version: 1 }, arbitrumTestnet: { - version: 1, + version: 1 }, arbitrumMainnet: { - version: 1, + version: 1 }, optimismGoerli: { - version: 1, + version: 1 }, optimismMainnet: { - version: 1, + version: 1 }, hardhat: { - version: 1, + version: 1 }, localhost: { - version: 1, + version: 1 }, sepolia: { - version: 1, + version: 1 + }, + fuse: { + version: 1 }, fuseSpark: { - version: 1, + version: 1 } }, args: { @@ -48,4 +51,4 @@ const deploy = { } } -exports.deploy = deploy +exports.deploy = deploy \ No newline at end of file diff --git a/scripts/versioncontrol/4_deployEPNSCommV2.config.js b/scripts/versioncontrol/4_deployEPNSCommV2.config.js index ce13725c..46569c94 100644 --- a/scripts/versioncontrol/4_deployEPNSCommV2.config.js +++ b/scripts/versioncontrol/4_deployEPNSCommV2.config.js @@ -57,6 +57,9 @@ const deploy = { sepolia: { version: 1 }, + fuse : { + version: 1 + }, fuseSpark: { version: 1, } diff --git a/scripts/versioncontrol/6_deployEPNSCommV3.config.js b/scripts/versioncontrol/6_deployEPNSCommV3.config.js index ce13725c..46569c94 100644 --- a/scripts/versioncontrol/6_deployEPNSCommV3.config.js +++ b/scripts/versioncontrol/6_deployEPNSCommV3.config.js @@ -57,6 +57,9 @@ const deploy = { sepolia: { version: 1 }, + fuse : { + version: 1 + }, fuseSpark: { version: 1, }