Commit aeb203b3 authored by Guillaume Dewisme's avatar Guillaume Dewisme

front up

parent 78ba8495
Pipeline #3121 canceled with stages
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"@testing-library/react": "^13.4.0", "@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0", "@testing-library/user-event": "^13.5.0",
"ethers": "^5.7.2", "ethers": "^5.7.2",
"prompts": "'~'2.4.2",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-scripts": "5.0.1", "react-scripts": "5.0.1",
...@@ -39,4 +40,4 @@ ...@@ -39,4 +40,4 @@
"last 1 safari version" "last 1 safari version"
] ]
} }
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ import { ethers } from 'ethers'; ...@@ -2,7 +2,7 @@ import { ethers } from 'ethers';
import VotingABI from '../contracts/Voting.json'; import VotingABI from '../contracts/Voting.json';
// Adresse du contrat déployé (à remplacer par votre adresse réelle après déploiement) // Adresse du contrat déployé (à remplacer par votre adresse réelle après déploiement)
export const CONTRACT_ADDRESS = "0x5FbDB2315678afecb367f032d93F642f64180aa3"; export const CONTRACT_ADDRESS = "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512";
export const connectWallet = async () => { export const connectWallet = async () => {
try { try {
......
module.exports = require('./lib')(require('./lib/elliptic'))
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
"schema-utils": "'~'4.3.0" "schema-utils": "'~'4.3.0"
}, },
"dependencies": { "dependencies": {
"@nomicfoundation/hardhat-ethers": "'~'3.0.8" "@nomicfoundation/hardhat-ethers": "'~'3.0.8",
"prompts": "'~'2.4.2"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment