Skip to content

Instantly share code, notes, and snippets.

@CepIbp1950
Created January 28, 2025 11:21
Show Gist options
  • Save CepIbp1950/43bf46d6074825479e4d64fdbb0ebdd6 to your computer and use it in GitHub Desktop.
Save CepIbp1950/43bf46d6074825479e4d64fdbb0ebdd6 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
require("dotenv").config()
require("@nomicfoundation/hardhat-toolbox")
const privateKey = process.env.PRIVATE_KEY || ""
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.18",
networks: {
hardhat: {
forking: {
url: `https://arb-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`,
blockNumber: 223528000
},
}
}
};
@CepIbp1950
Copy link
Author

adding alchemy token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment