mirror of
https://github.com/selfxyz/self.git
synced 2026-02-09 22:06:22 -05:00
30 lines
763 B
TypeScript
30 lines
763 B
TypeScript
import { HardhatUserConfig } from "hardhat/config";
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
require("dotenv").config();
|
|
import "hardhat-contract-sizer";
|
|
|
|
const config: HardhatUserConfig = {
|
|
solidity: "0.8.18",
|
|
defaultNetwork: "hardhat",
|
|
networks: {
|
|
goerli: {
|
|
url: "https://eth-goerli.public.blastapi.io",
|
|
accounts: [process.env.PKEY as string],
|
|
},
|
|
polygon: {
|
|
url: "https://polygon.llamarpc.com",
|
|
accounts: [process.env.PKEY as string],
|
|
},
|
|
mumbai: {
|
|
url: "https://polygon-mumbai-bor.publicnode.com",
|
|
accounts: [process.env.PKEY as string],
|
|
},
|
|
sepolia: {
|
|
url: "https://rpc.notadegen.com/eth/sepolia",
|
|
accounts: [process.env.PKEY as string],
|
|
}
|
|
},
|
|
};
|
|
|
|
export default config;
|