Skip to content

Commit

Permalink
🚀 release 0.6.9 - mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
aahna-ashina committed Mar 25, 2024
1 parent 53d91a7 commit 6c84995
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ https://github.com/nation3/foundations/blob/main/deployments/sepolia.json

- `NationCred.sol`: [`0x3C38FBe04C455eFaF762d00c400e1A6589f7269A`](https://sepolia.etherscan.io/address/0x3C38FBe04C455eFaF762d00c400e1A6589f7269A)

### Mainnet (`v0`)
### Mainnet (`v0.6.9`)

https://github.com/nation3/foundations/blob/main/deployments/mainnet.json

Expand All @@ -145,7 +145,11 @@ https://github.com/nation3/foundations/blob/main/deployments/mainnet.json

- `NationCred.sol`: [`0x7794F0Eb1eA812fBcdaBD559551Fb26A79720925`](https://etherscan.io/address/0x7794F0Eb1eA812fBcdaBD559551Fb26A79720925)

### npm (`v0.6.8`)
- `utils/`

- `PassportUtils.sol`: [`...`](https://sepolia.etherscan.io/address/...)

### npm (`v0.6.9`)

https://www.npmjs.com/package/@nation3/nationcred-contracts

Expand Down
6 changes: 1 addition & 5 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
const config: HardhatUserConfig = {
solidity: "0.8.21",
networks: {
goerli: {
url: process.env.GOERLI_URL || "",
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
sepolia: {
url: process.env.SEPOLIA_URL || "",
accounts:
Expand All @@ -32,6 +27,7 @@ const config: HardhatUserConfig = {
url: process.env.MAINNET_URL || "",
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
gasPrice: 14_000_000_000 // 14 GWei
},
},
gasReporter: {
Expand Down
8 changes: 5 additions & 3 deletions scripts/utils/deploy-passport-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ async function main() {
const contractPath = "contracts/utils/PassportUtils.sol:PassportUtils"

// Constructor Args
const passportIssuerAddress = "0xdad32e13E73ce4155a181cA0D350Fee0f2596940"; // Sepolia
const votingEscrowAddress = "0x8100e77899C24b0F7B516153F84868f850C034BF"; // Sepolia

// const passportIssuerAddress = "0xdad32e13E73ce4155a181cA0D350Fee0f2596940"; // Sepolia
// const votingEscrowAddress = "0x8100e77899C24b0F7B516153F84868f850C034BF"; // Sepolia
const passportIssuerAddress = "0x279c0b6bfCBBA977eaF4ad1B2FFe3C208aa068aC"; // Mainnet
const votingEscrowAddress = "0xF7deF1D2FBDA6B74beE7452fdf7894Da9201065d"; // Mainnet

const args = [passportIssuerAddress, votingEscrowAddress];
const contractAddress = await deployContract(contractName, args);
await verifyContract(contractPath, contractAddress, args);
Expand Down

0 comments on commit 6c84995

Please sign in to comment.