Skip to content

Commit

Permalink
Merge pull request #16 from ethpandaops/pk910/deployment-script
Browse files Browse the repository at this point in the history
add deployment script
  • Loading branch information
pk910 authored Jun 3, 2024
2 parents 1cf75b5 + dfe2660 commit 4e6285a
Show file tree
Hide file tree
Showing 7 changed files with 1,346 additions and 1,380 deletions.
4 changes: 2 additions & 2 deletions fundingvault/FundingVaultABI.json
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,9 @@
{
"inputs": [
{
"internalType": "uint32",
"internalType": "uint64",
"name": "grantId",
"type": "uint32"
"type": "uint64"
}
],
"name": "getGrantLockTime",
Expand Down
2 changes: 1 addition & 1 deletion fundingvault/contract-json/FundingVaultV1.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions fundingvault/contracts/FundingVaultV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ pragma solidity ^0.8.21;

/*
##################################################################
# Holešovice Funding Vault #
# Funding Vault #
# #
# This contract is used to distribute fund reserves to faucets #
# or other projects that have a ongoing need for testnet funds. #
# #
# Vault contract: 0x610866c6089768dA95524bcc4cE7dB61eDa3931c #
# #
# see https://dev.pk910.de/ethvault by pk910.eth #
# see https://github.com/ethpandaops/fundingvault #
##################################################################
*/

Expand Down
19 changes: 18 additions & 1 deletion fundingvault/hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
require("@nomicfoundation/hardhat-toolbox");
require("@nomicfoundation/hardhat-ignition");

const DEPLOYER_PRIVATE_KEY = vars.has("DEPLOYER_PRIVATE_KEY") ? [ vars.get("DEPLOYER_PRIVATE_KEY") ] : undefined;

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
Expand All @@ -14,7 +17,21 @@ module.exports = {
auto: true,
interval: 0
}
}
},
sepolia: {
chainId: 11155111,
url: `https://rpc.sepolia.ethpandaops.io/`,
accounts: DEPLOYER_PRIVATE_KEY,
},
holesky: {
chainId: 11155111,
url: `https://rpc.sepolia.ethpandaops.io/`,
accounts: DEPLOYER_PRIVATE_KEY,
},
ephemery: {
url: `http://10.16.72.103:8545`,
accounts: DEPLOYER_PRIVATE_KEY,
},
},
solidity: {
version: "0.8.21",
Expand Down
Loading

0 comments on commit 4e6285a

Please sign in to comment.