Skip to content

Commit d9f5823

Browse files
committed
chore: redeploy election contract
1 parent a393507 commit d9f5823

File tree

10 files changed

+8321
-406
lines changed

10 files changed

+8321
-406
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ docs/
1414
.env
1515

1616
# Lib
17-
# lib/
17+
lib/
1818

1919
node_modules/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ deploy-votsengine :; @forge script script/DeployVotsEngine.s.sol:DeployVotsEngin
2626

2727
deploy-votsengine-fuji :; @forge script script/DeployVotsEngine.s.sol:DeployVotsEngine --rpc-url ${FUJI_RPC_URL} --account vutsdefault --broadcast --verifier-url ${FUJI_VERIFIER_URL} --etherscan-api-key ${ETHERSCAN_API_KEY} -vvvv
2828

29-
verify-votsengine :;forge verify-contract --etherscan-api-key ${ETHERSCAN_API_KEY} --chain sepolia 0xbC9aFaB1b833427195F9674b0f34B501b408f810 "src/VotsEngine.sol:VotsEngine"
29+
verify-votsengine :;forge verify-contract --etherscan-api-key ${ETHERSCAN_API_KEY} --chain sepolia 0x41A221CF6CD0d4BA6FDf18b6F492fFD048CbA287 "src/VotsEngine.sol:VotsEngine"
3030

3131
verify-contract:
3232
@echo "Enter contract address:"

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ forge build
9191
The VotsEngine contract is currently deployed and live on multiple testnets:
9292

9393
### Sepolia Testnet
94-
**VotsEngine Contract**: `0xbC9aFaB1b833427195F9674b0f34B501b408f810`
94+
**VotsEngine Contract**: `0x41A221CF6CD0d4BA6FDf18b6F492fFD048CbA287..`
9595

96-
**NFT Contract**: `0x7b80Dcda97907eFF4D99655223437E4689E559c6`
96+
**NFT Contract**: `0x8f10FA6bDA8bE2Ebd7A905d3D9EF81A360B5aA92.`
9797

9898
**Network**: Sepolia Testnet
9999
- **Chain ID**: 11155111
100-
- **VotsEngine Block Explorer**: https://sepolia.etherscan.io/address/0xbC9aFaB1b833427195F9674b0f34B501b408f810
101-
- **NFT Contract Block Explorer**: https://sepolia.etherscan.io/address/0x7b80Dcda97907eFF4D99655223437E4689E559c6
100+
- **VotsEngine Block Explorer**: https://sepolia.etherscan.io/address/0x41A221CF6CD0d4BA6FDf18b6F492fFD048CbA287..
101+
- **NFT Contract Block Explorer**: https://sepolia.etherscan.io/address/0x8f10FA6bDA8bE2Ebd7A905d3D9EF81A360B5aA92.
102102

103103
### Fuji Testnet (Avalanche)
104104
**VotsEngine Contract**: `0xed7eA5221041A1982d9d257c9617B1448032838d`
@@ -120,7 +120,7 @@ You can interact with the deployed contract using:
120120

121121
```javascript
122122
// Example using ethers.js with Sepolia
123-
const sepoliaContractAddress = "0xbC9aFaB1b833427195F9674b0f34B501b408f810";
123+
const sepoliaContractAddress = "0x41A221CF6CD0d4BA6FDf18b6F492fFD048CbA287..";
124124
const VotsEngineSepoliaClient = new ethers.Contract(sepoliaContractAddress, abi, sepoliaProvider);
125125

126126
// Example using ethers.js with Fuji
@@ -146,7 +146,7 @@ The VotsEngine system requires a **hybrid physical-digital infrastructure**:
146146
### Deploying the System
147147

148148
The VotsEngine is already deployed on multiple testnets:
149-
- **Sepolia**: `0xbC9aFaB1b833427195F9674b0f34B501b408f810`
149+
- **Sepolia**: `0x41A221CF6CD0d4BA6FDf18b6F492fFD048CbA287..`
150150
- **Fuji (Avalanche)**: `0xed7eA5221041A1982d9d257c9617B1448032838d`
151151

152152
For local development or custom deployments:
@@ -161,7 +161,7 @@ Or connect to the existing deployments:
161161
```javascript
162162
// Connect to Sepolia deployment
163163
const VotsEngineSepoliaClient = new ethers.Contract(
164-
"0xbC9aFaB1b833427195F9674b0f34B501b408f810",
164+
"0x41A221CF6CD0d4BA6FDf18b6F492fFD048CbA287..",
165165
VotsEngineABI,
166166
sepoliaProvider
167167
);

0 commit comments

Comments
 (0)