Commit Graph

112 Commits

Author SHA1 Message Date
Jimmy Chu
4cc6980b55 Add CLI Foundry Template (cont.) (#905)
* Semaphore identity example code bug fix

* Receive suggestion for consistency

* chore: forge init

* forge install: forge-std

v1.9.2

* Foundry CLI First Draft

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* forge install: forge-std

v1.9.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* forge install: forge-std

v1.9.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* forge install: forge-std

v1.9.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* forge install: forge-std

v1.9.2

* modules

* forge install: semaphore

v4.0.3

* forge install: zk-kit.solidity

* forge install: poseidon-solidity

v0.0.5

* forge install: openzeppelin-contracts

v5.0.2

* forge install: forge-std

v1.9.2

* change test name

* modify declaration of semaphore and verifier

* Modify Test Function Name

* Add Test Chain Target

* forge std install

* refactor(cli-template-contracts-foundry): change default Anvil address and private key

* chore(cli-template-contracts-foundry): add comments

* refactor(cli-template-contracts-foundry): add Semaphore & SemaphoreVerifier addresses for test chain

* chore(cli-template-contracts-foundry): add forge coverage for Makefile

* chore(cli-template-contracts-foundry): add env.example

* docs(cli-template-contracts-foundry): add command instructions

* updated

* forge build works

* Fixed for linting

* chore(cli-template-contracts-foundry): make the lint, prettier, and lint-staged pass

* chore(cli-template-contracts-foundry): replace Makefile(removed) with package.json

* chore(cli-template-contracts-foundry): passing the ci test

* updated test

* feat(cli-template-contracts-foundry): complete cli-template-contracts-foundry

re #854, #185

* Update dependencies

* Add explanation on `yarn dev`

* fix(cli-template-contracts-foundry): fix `yarn dev` command and add docs on integrate w/ boilerplate

* Added yarnrc

* updated version

* Added Foundry in template option

---------

Co-authored-by: weipooppys93030 <55434365+weipooppys93030@users.noreply.github.com>
Co-authored-by: timou0911 <x0928048316@gmail.com>
Co-authored-by: csiejimmyliu <91661606+csiejimmyliu@users.noreply.github.com>
2024-12-17 14:48:36 +01:00
cedoor
6b04ec0eca chore: v4.7.3 2024-12-12 08:55:13 +00:00
Jake C-T
13a9480165 fix(core): bump ethers to v6.13.4 (#921)
Update ethers version to resolve ws security issue (CVE-2024-37890).
Move contract address check outside of branch statement so Typescript can see.
Add build instructions to setup to resolve 'Cannot find module '@semaphore-protocol/...' when
running tests for the first time.

re #920
2024-12-12 08:53:17 +00:00
cedoor
53967a9a3c chore: v4.7.2 2024-12-09 10:44:07 +01:00
Lautaro Di Sanza
5b92c0a2bc fix(group): after a sequence of updates a proof is invalid (#910)
* fix(group): after a sequence of updates a proof is invalid

* fix(group): after a sequence of updates a proof is invalid
2024-12-09 10:43:08 +01:00
Vivian Plasencia
8d83d59220 chore: v4.7.1 2024-12-05 18:49:30 +01:00
cedoor
3e7db08eeb chore: v4.7.0 2024-11-27 17:24:57 +07:00
cedoor
bada8b8792 chore: v4.6.0 2024-11-25 13:09:50 +07:00
Vivian Plasencia
9b419f0c78 docs: add benchmarks page (#889)
* docs(docs): add benchmarks page to the docs

re #815

* chore(docs): update the docusaurus version
2024-10-30 10:54:13 +01:00
Vivian Plasencia
c67b888eb6 chore: v4.5.0 2024-10-28 20:23:40 +01:00
Vivian Plasencia
fadcf19206 chore: v4.4.2 2024-10-23 22:42:39 +02:00
cedoor
e6576cdc47 chore: v4.4.1 2024-10-21 12:41:11 +01:00
cedoor
822530f2cf chore: v4.4.0 2024-10-17 14:19:38 +01:00
cedoor
06e11d5c34 chore: v4.3.1 2024-10-16 12:20:26 +01:00
cedoor
3cb1b5757d revert(circuits): set previous circomkit version as static 2024-10-15 11:30:11 +01:00
cedoor
391b571c31 chore(circuits): update circomkit dep version 2024-10-15 11:21:04 +01:00
cedoor
4c2769099f chore(circuits): update dev dependencies 2024-10-15 11:05:08 +01:00
Cedoor
29cabb49d6 build: move poseidon-lite to dependencies (#870) 2024-10-15 10:58:51 +01:00
cedoor
48b0694586 chore: v4.3.0 2024-10-03 12:46:01 +01:00
cedoor
4bfe6d8791 chore: v4.2.0 2024-10-01 18:48:37 +01:00
Cedoor
a3d97795fe Chore/new testnets (#864)
* chore(contracts): deploy contracts on base sepolia

re #863

* chore(contracts): deploy contracts on linea sepolia

re #863
2024-10-01 18:36:55 +01:00
cedoor
4c8d297902 chore: v4.1.0 2024-10-01 11:35:27 +01:00
sripwoud
0d41562dad chore: publish contracts to soldeer (#820)
* chore: define separate version.ts script

* chore: include publishing to soldeer in script

* fix(contracts): push to soldeer

re 800

* ci: fetch latest contract version from soldeer

* refactor: do not use execa in scripts

* fix: do not exit process in script

* chore: remove comments

* refactor: use shebang in ts scripts

* chore(contracts): add soldeerignore

* chore: inherit stdio in scripts

* chore: remove dry run flag

* chore: uncomment

* chore: fix typo in comment
2024-08-28 16:26:48 +02:00
Vivian Plasencia
7d48311474 chore: v4.0.3 2024-08-13 09:53:22 +02:00
cedoor
de7bdd6d17 chore: v4.0.2 2024-08-12 12:00:57 +02:00
Cedoor
21c2739f19 fix(group): update lean-imt dependency (#850)
re #847
2024-08-12 11:56:08 +02:00
cedoor
5db1bccb84 chore: v4.0.1 2024-07-31 10:39:27 +01:00
Vivian Plasencia
da2fae673d chore: v4.0.0 2024-07-25 13:39:24 +02:00
Vivian Plasencia
44ad964beb chore: v4.0.0-beta.19 2024-07-25 12:55:21 +02:00
cedoor
698cef0a80 chore: v4.0.0-beta.18 2024-07-19 14:11:17 +01:00
cedoor
1e4e63cc31 chore: v4.0.0-beta.17 2024-07-18 22:34:57 +01:00
cedoor
4e54c159e6 chore(subgraph): deploy new subgraphs 2024-07-18 22:33:24 +01:00
Chidozie DAVID
fe5cf653c1 Refactor/sempahore abi to utils (#818)
* ci(contracts): a script that moves the abi.json file created to utils folder

A script could be run immediately after compilation to copy the file
artifacts/contracts/Semaphore.sol/Semaphore.json to packages/utils/src/semaphore-abi.json. Then all
packages/apps that need the interface can import it from @semaphore-protocol/utils.

re #817

* refactor(utils): allows packages to import abi from @semaphore-protocol/utils

re #817

* refactor(cli-template-monorepo-ethers): installs ncp and exports Semaphore Abi byte code

re #817

* refactor(contracts): added a script that automates movement of semaphore-abi.json

* chore(cli): changed the dependency and moved to ncp for copying semaphore abi

Changed the importation of abi in utils to _interface and moved the ncp to a dev depency

* chore(utils): changed ab to _interface and update to package.json

* chore(cli): deleted Cli-template file and made a document change

delted some cli-template file, changed yarn commit to git commit and fixed the yarn compile  script
2024-07-09 23:24:48 +01:00
sripwoud
1b046fd8d1 perf: speed up local scripts (#810)
* chore: parallelize build scripts

* chore: run tests concurrently

* chore: group test log outputs

* chore: execute lint and format scripts concurrently

* refactor: do no use wildcard for test script`
2024-07-04 17:24:43 +02:00
cedoor
5fe6e4cd5f chore: v4.0.0-beta.16 2024-07-01 16:29:18 +01:00
cedoor
504c0f7f9c chore: v4.0.0-beta.15 2024-06-28 11:02:25 +01:00
Cedoor
a1628f635a chore: deploy contracts and replace mumbai with amoy (#809)
* chore: remove unused env variable

* chore: deploy contracts and replace mumbai with amoy

* docs(subgraph): update README.md

* style(subgraph): format code with prettier

* docs(contracts): update deploy command name
2024-06-28 10:59:08 +01:00
cedoor
bb1975a949 chore: v4.0.0-beta.14 2024-06-24 12:41:04 +01:00
Cedoor
7ec35c22f8 chore(proof): update @zk-kit/artifacts dep version (#806) 2024-06-24 12:39:31 +01:00
cedoor
f19daf7896 chore: v4.0.0-beta.13 2024-06-18 12:09:38 +01:00
Cedoor
3572f4493d fix(identity)!: update type of private key (#803)
* fix(identity)!: update type of private key

The new types support buffers and text, so that there is less ambiguity on strings.

* refactor(identity): use base64 as encoding for exported priv keys

re #799

* Update packages/identity/src/index.ts

Co-authored-by: Andrew Twyman <artwyman@users.noreply.github.com>

* test(identity): add more tests

re #799

---------

Co-authored-by: Andrew Twyman <artwyman@users.noreply.github.com>
2024-06-18 12:08:20 +01:00
Vivian Plasencia
5d513f92fb chore: v4.0.0-beta.12 2024-05-31 15:17:01 +02:00
sripwoud
0c942220b6 chore(proof): bump @zk-kit/artifacts to 1.4.1 (#798)
chore(proof): bump `@zk-kit/artifacts`

includes a retry mechanism to fetch artifacts
2024-05-31 14:43:17 +02:00
Vivian Plasencia
f934c02214 chore: v4.0.0-beta.11 2024-05-21 09:48:11 +02:00
Vivian Plasencia
43fba00845 chore: update zk kit dependencies (#791)
* chore: update @zk-kit/baby-jubjub and @zk-kit/eddsa-poseidon dependencies

re #786

* chore(group): use the new @zk-kit/lean-imt library

re #786

* chore: update @zk-kit/utils version

re #786

* chore(contracts): use the new @zk-kit/lean-imt.sol library in contracts

re #786
2024-05-21 09:43:55 +02:00
sripwoud
7b3621a701 refactor: add @zk-kit/artifacts (#788)
* refactor: add `@zk-kit/artifacts`

* chore: update `jest.config.ts`

* test: increase timeouts

* chore: bump `@zk-kit/utils`

* fix: bump `@zk-kit/artifacts`
2024-05-20 12:16:01 -05:00
Vivian Plasencia
0fa785bc58 chore: v4.0.0-beta.10 2024-05-16 12:47:57 +02:00
Vivian Plasencia
c88175bb2d chore: update zk-kit dependencies (#781)
* chore: update @zk-kit/imt and @zk-kit/imt.sol dependencies

re #776

* chore(identity): update dependency @zk-kit/eddsa-poseidon

re #776

* chore: update dependency @zk-kit/utils

re #776

* chore: add fixed version of zk-kit packages

re #776

* chore(identity): update dependency @zk-kit/baby-jubjub

re #776

* chore: update @zk-kit/baby-jubjub package version

re #776

* chore(identity): update @zk-kit/eddsa-poseidon package version

re #776

* chore: update yarn.lock file
2024-05-15 16:52:12 +01:00
Cedoor
f9e41fb306 chore(circuits): update binary-merkle-root dependency (#780)
re #776
2024-05-13 17:15:18 +01:00
cedoor
ddfe4ffd56 chore: v4.0.0-beta.9 2024-05-02 16:29:22 +01:00