@semaphore-protocol/cli-template-monorepo-ethers 3.15.1 → 4.0.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.example CHANGED
@@ -1,8 +1,8 @@
1
1
  DEFAULT_NETWORK=localhost
2
2
  INFURA_API_KEY=
3
3
  ETHEREUM_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
4
- FEEDBACK_CONTRACT_ADDRESS=0x5fc8d32690cc91d4c39d9d3abcbd16989f875707
5
- SEMAPHORE_CONTRACT_ADDRESS=0xdc64a140aa3e981100a9beca4e685f962f0cf6c9
4
+ FEEDBACK_CONTRACT_ADDRESS=0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9
5
+ SEMAPHORE_CONTRACT_ADDRESS=0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
6
6
  OPENZEPPELIN_AUTOTASK_WEBHOOK=
7
7
  GROUP_ID=42
8
8
  REPORT_GAS=false
package/README.md CHANGED
@@ -25,7 +25,7 @@ yarn dev
25
25
  1. Go to the `apps/contracts` directory and deploy your contract:
26
26
 
27
27
  ```bash
28
- yarn deploy --semaphore <semaphore-address> --group <group-id> --network arbitrum-goerli
28
+ yarn deploy --semaphore <semaphore-address> --group <group-id> --network arbitrum-sepolia
29
29
  ```
30
30
 
31
31
  2. Update your `.env` file with your new contract address, the group id and the semaphore contract address.
@@ -33,7 +33,7 @@ yarn deploy --semaphore <semaphore-address> --group <group-id> --network arbitru
33
33
  3. Copy your contract artifacts from `apps/contracts/build/contracts/contracts` folder to `apps/web-app/contract-artifacts` folders manually. Or run `yarn copy:contract-artifacts` in the project root to do it automatically.
34
34
 
35
35
  > **Note**
36
- > Check the Semaphore contract addresses [here](https://semaphore.pse.dev/docs/deployed-contracts).
36
+ > Check the Semaphore contract addresses [here](https://docs.semaphore.pse.dev/deployed-contracts).
37
37
 
38
38
  > **Warning**
39
39
  > The group id is a number!
package/files.tgz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semaphore-protocol/cli-template-monorepo-ethers",
3
- "version": "3.15.1",
3
+ "version": "4.0.0-alpha",
4
4
  "description": "Semaphore Hardhat + Next.js + SemaphoreEthers template.",
5
5
  "license": "Unlicense",
6
6
  "files": [
@@ -22,14 +22,13 @@
22
22
  "lint": "eslint . --ext .js,.ts",
23
23
  "prettier": "prettier -c .",
24
24
  "prettier:write": "prettier -w .",
25
- "copy:contract-artifacts": "ts-node scripts/copy-contract-artifacts.ts",
26
25
  "prepublish": "tar -czf files.tgz .gitignore .yarn .yarnrc.yml apps"
27
26
  },
28
27
  "workspaces": [
29
28
  "apps/*"
30
29
  ],
31
30
  "devDependencies": {
32
- "@types/node": "^17.0.9",
31
+ "@types/node": "^20",
33
32
  "@typescript-eslint/eslint-plugin": "^5.9.1",
34
33
  "@typescript-eslint/parser": "^5.9.1",
35
34
  "eslint": "^8.2.0",
@@ -1,15 +0,0 @@
1
- import * as fs from "fs"
2
-
3
- async function main() {
4
- const contractArtifactsPath = "apps/contracts/build/contracts/contracts/Feedback.sol"
5
- const webAppArtifactsPath = "apps/web-app/contract-artifacts"
6
-
7
- await fs.promises.copyFile(`${contractArtifactsPath}/Feedback.json`, `${webAppArtifactsPath}/Feedback.json`)
8
- }
9
-
10
- main()
11
- .then(() => process.exit(0))
12
- .catch((error) => {
13
- console.error(error)
14
- process.exit(1)
15
- })