Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SemaphoreViem implemented #364

Closed
wants to merge 901 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
901 commits
Select commit Hold shift + click to select a range
a4fcb36
ci(release): add new workflow for automatic releases
cedoor Feb 15, 2023
243c505
chore(semaphore): v3.1.0
cedoor Feb 15, 2023
4f49736
chore: update lockfile
cedoor Feb 15, 2023
6e036c0
docs(subgraph): update readme file
cedoor Feb 15, 2023
739af09
chore(release): create yarn patch to update changelogithub format
cedoor Feb 16, 2023
d2b9597
Merge pull request #253 from semaphore-protocol/chore/release
cedoor Feb 16, 2023
972790d
add hardhat task to deploy semaphore verifier only
shiyingt Feb 19, 2023
a5df125
chore(yarn): add yarn plugin for versioning
cedoor Feb 20, 2023
9ef675f
chore: add new workspace package
cedoor Feb 20, 2023
0b1519e
chore: update lockfile
cedoor Feb 20, 2023
257080e
chore: add new scripts to bump versions & publish npm pkgs
cedoor Feb 20, 2023
5c402f3
style: format code with prettier
cedoor Feb 20, 2023
1bb2982
Merge pull request #255 from semaphore-protocol/chore/bump-version
cedoor Feb 20, 2023
3105a0c
fix hardhat task
shiyingt Feb 21, 2023
6987686
fix hardhat task
shiyingt Feb 21, 2023
bd06422
chore: update discord links
cedoor Feb 22, 2023
2ddbc51
run prettier write and eslint
shiyingt Feb 22, 2023
865421a
docs(hardhat): update readme description
cedoor Feb 23, 2023
b51f1d7
revert all changes
shiyingt Feb 27, 2023
934e4b2
add hardhat task to deploy verifier
shiyingt Feb 27, 2023
76146ed
Merge pull request #257 from shiyingt/feat/deploy-verifier-hardhat
cedoor Mar 1, 2023
25e2442
refactor(hardhat): update readme and set correct task name
cedoor Mar 1, 2023
3c359e9
feat(identity): prepend hex strings with 0x
chancehudson Mar 4, 2023
5a99792
Merge pull request #261 from vimwitch/json-prepend-0x
cedoor Mar 4, 2023
ed63519
feat(identity): use sha512 to extract more entropy from message
chancehudson Mar 4, 2023
d5d0114
chore: run prettier
chancehudson Mar 4, 2023
b040c42
chore(subgraph): remove subgraph package
cedoor Mar 5, 2023
95e4a4e
Merge pull request #262 from vimwitch/identity-entropy
cedoor Mar 5, 2023
fc2f648
feat(data): create new data package
cedoor Mar 6, 2023
925cc64
chore: remove types folder from prettier ignore file
cedoor Mar 6, 2023
9d27c3a
build(data): update rollup configuration
cedoor Mar 6, 2023
9942b92
test(data): mock ethers tests
cedoor Mar 7, 2023
56e652a
fix(data): add request header
cedoor Mar 8, 2023
bc165cd
chore(cli): sen new data package
cedoor Mar 8, 2023
a798acb
docs(data): update readme file
cedoor Mar 8, 2023
1809778
fix(cli): set correct data class name
cedoor Mar 8, 2023
cce2936
docs(data): add await to usage functions
cedoor Mar 8, 2023
2b732f3
docs: fix md syntax
cedoor Mar 8, 2023
b09e274
build: add topological option to yarn workspaces cmd
cedoor Mar 8, 2023
86e186c
Merge pull request #264 from semaphore-protocol/feat/data-package
cedoor Mar 8, 2023
dc39c4c
refactor(contracts): change Semaphore__InvalidProof to InvalidProof
zkzoomer Mar 8, 2023
4fab94e
Merge pull request #267 from 0xdeenz/main
cedoor Mar 9, 2023
a296541
chore(contracts): deploy semaphore on sepolia network
cedoor Mar 9, 2023
1013516
style(contracts): format code with prettier
cedoor Mar 9, 2023
eceec87
Merge pull request #268 from semaphore-protocol/chore/sepolia
cedoor Mar 9, 2023
c988896
chore(contracts): deploy semaphore on mumbai network
cedoor Mar 9, 2023
6b49891
feat(data): add support for mumbai network
cedoor Mar 9, 2023
2e5e00a
style(contracts): format code with prettier
cedoor Mar 9, 2023
4241be1
chore(contracts): update hardhat etherscan plugin
cedoor Mar 9, 2023
55a48a2
chore(contracts): deploy semaphore on optimism goerli network
cedoor Mar 9, 2023
d9f888a
style(contracts): format code with prettier
cedoor Mar 9, 2023
3722b15
feat(data): add support for optimism goerli network
cedoor Mar 9, 2023
1a27d0b
chore: bump poseidon-lite version
chancehudson Mar 9, 2023
21f2287
Merge pull request #271 from vimwitch/poseidon-lite-upgrade
cedoor Mar 9, 2023
e002b24
Merge pull request #269 from semaphore-protocol/chore/mumbai
cedoor Mar 10, 2023
6344cf4
Merge pull request #270 from semaphore-protocol/chore/optimism-goerli
cedoor Mar 10, 2023
0780751
chore(cli-template-hardhat): add supported networks to hardhat
cedoor Mar 10, 2023
915b95d
chore(cli): remove unused ts paths
cedoor Mar 10, 2023
33d814f
chore: v3.2.0
cedoor Mar 10, 2023
4f7af88
chore: add refactor type to changelog
cedoor Mar 10, 2023
d227ee1
chore(contracts): include Semaphore.sol contract in npm files
cedoor Mar 11, 2023
5cc6877
chore: v3.2.1
cedoor Mar 11, 2023
7b93893
fix(data): set correct check for group existence
cedoor Mar 13, 2023
46c2ad2
Merge pull request #272 from semaphore-protocol/fix/data-ethers
cedoor Mar 13, 2023
5ea3b7e
chore: v3.2.2
cedoor Mar 13, 2023
0c6df19
chore: add github workflow to auto assign PRs
cedoor Mar 13, 2023
b9db066
chore: set org devs as reviewers
cedoor Mar 13, 2023
07244fc
chore: update team name
cedoor Mar 13, 2023
f777603
Merge pull request #273 from semaphore-protocol/chore/auto-assign-action
cedoor Mar 13, 2023
0137d6e
style: format code with prettier
cedoor Mar 13, 2023
d33d306
chore: update github token
cedoor Mar 13, 2023
77552b0
chore: add husky script to check commit message format
cedoor Mar 13, 2023
e00dc8e
Merge pull request #274 from semaphore-protocol/chore/husky
cedoor Mar 13, 2023
6a3079b
ci: update auto-assign workflow name
cedoor Mar 13, 2023
797e62d
build: bundle poseidon-lite functions with rollup
cedoor Mar 13, 2023
982ee86
chore: update lockfile
cedoor Mar 13, 2023
e135b1d
Merge pull request #276 from semaphore-protocol/fix/bundle-poseidon
cedoor Mar 13, 2023
59d2d13
chore: v3.2.3
cedoor Mar 13, 2023
a4f9e47
chore(cli): update command description
cedoor Mar 15, 2023
49221b6
chore(data): change default network
cedoor Mar 15, 2023
8988f47
test(data): update tests for semaphore ethers class
cedoor Mar 15, 2023
6c64452
Merge pull request #279 from semaphore-protocol/chore/default-network
cedoor Mar 16, 2023
0810ffb
Fix typo in Pairing.sol
dbrans Mar 17, 2023
032702b
Merge pull request #280 from dbrans/patch-1
cedoor Mar 17, 2023
63666f6
feat(cli): add support for sepolia network in the cli
vplasencia Mar 17, 2023
e34ce9c
chore(contracts): deploy semaphore on arbitrum goerli network
cedoor Mar 17, 2023
ef393e9
style(contracts): format code with prettier
cedoor Mar 17, 2023
4ddf75b
feat(cli): update get-group command to use sepolia
vplasencia Mar 17, 2023
eefffca
refactor(cli): organize get-groups command code
vplasencia Mar 17, 2023
4ecf293
refactor(cli): remove unused code
vplasencia Mar 17, 2023
716a20c
refactor(cli): remove unnecessary code in get-group command
vplasencia Mar 17, 2023
4133ae1
feat(cli-template-hardhat): add new version of cli-template-hardhat
vplasencia Mar 20, 2023
e44ca7d
Merge pull request #283 from semaphore-protocol/feat/cli-template-har…
cedoor Mar 20, 2023
0571bbc
feat(data): add support for arbitrum goerli network
cedoor Mar 20, 2023
f67c1f0
feat(heyauthn): create heyauthn package
cedoor Mar 20, 2023
5363700
docs(heyauthn): add authors to readme file
cedoor Mar 20, 2023
4641735
fix(cli): add admin in get-group when using SemaphoreEthers
vplasencia Mar 21, 2023
0a6061c
Merge pull request #282 from semaphore-protocol/chore/arbitrum-goerli
cedoor Mar 21, 2023
889fe89
Merge pull request #281 from semaphore-protocol/feat/cli-sepolia-network
cedoor Mar 21, 2023
22ee1e0
style(cli): format code
cedoor Mar 21, 2023
b497be7
Merge pull request #285 from semaphore-protocol/feat/heyauthn
cedoor Mar 21, 2023
587e304
style(heyauthn): format code with prettier
cedoor Mar 21, 2023
af89f3a
chore: v3.3.0
cedoor Mar 21, 2023
79103bb
docs: add heyauthn package to readme
cedoor Mar 21, 2023
ff692f1
docs: add heyauthn docs link
cedoor Mar 21, 2023
7c4a2a1
feat(cli): add support for arbitrum goerli
cedoor Mar 21, 2023
254218b
chore: v3.4.0
cedoor Mar 21, 2023
a312590
docs(heyauthn): add new author
vplasencia Mar 24, 2023
220b34d
style(heyauthn): format code with prettier
vplasencia Mar 24, 2023
c774518
Merge pull request #291 from semaphore-protocol/docs/heyauthn-readme
cedoor Mar 24, 2023
9aa18b2
fix small typos in Pairing.sol
mmqxyz Mar 28, 2023
53963f7
Merge pull request #292 from mmqxyz/patch-1
cedoor Mar 28, 2023
d36a79e
fix(data): set correct nullifier hash parameter
cedoor Mar 28, 2023
1118452
Merge pull request #293 from semaphore-protocol/fix/semaphore-ethers
cedoor Mar 28, 2023
99ea3a1
feat(identity): add new identity secret attribute and getter
cedoor Mar 31, 2023
2af0af9
Merge pull request #295 from semaphore-protocol/feat/identity-getter
cedoor Mar 31, 2023
64a2e01
chore: v3.5.0
cedoor Mar 31, 2023
0cbbd9b
feat(cli): split the get-group command to make it easier to query gro…
vplasencia Mar 22, 2023
d8ab909
refactor(cli): organize inquirer prompts
vplasencia Mar 26, 2023
14e39a1
feat(cli): add checks for template integrity
vplasencia Feb 26, 2023
150a4c2
chore(cli): add types packages
cedoor Feb 27, 2023
93e4a5d
refactor(cli): organize get group ids logic
vplasencia Mar 27, 2023
bb0b58e
perf(cli): optimize get-members command
vplasencia Mar 27, 2023
0b060f9
perf(cli): optimize get-proofs command
vplasencia Mar 27, 2023
d9b0afb
fix(cli-template-hardhat): set the correct env file path
vplasencia Mar 31, 2023
30f82d9
style(cli): change output text of get-proofs command
vplasencia Apr 1, 2023
1b2f6b8
style(cli): add total of elements in the output of get-groups get-mem…
vplasencia Apr 1, 2023
53d878c
feat(cli-template-hardhat-nextjs-semaphoreethers): add the hardhat-ne…
vplasencia Apr 3, 2023
abfff13
refactor(cli-template-hardhat-nextjs-semaphoreethers): add access pub…
vplasencia Apr 3, 2023
eb997a8
refactor(cli-template-hardhat-nextjs-semaphoreethers): update package…
vplasencia Apr 3, 2023
58310b5
feat(cli-template-hardhat-nextjs-semaphoresubgraph): add hardhat-next…
vplasencia Apr 3, 2023
e5cf466
refactor(cli-template-hardhat-nextjs-semaphoresubgraph): remove unuse…
vplasencia Apr 3, 2023
5dbbdd1
refactor(cli-template-hardhat-nextjs-semaphoresubgraph): remove unuse…
vplasencia Apr 3, 2023
fcaac9f
refactor(cli-template-monorepo-ethers): remove unused code
vplasencia Apr 3, 2023
b363ce3
refactor(cli-template-monorepo-subgraph): add yarn.lock file
vplasencia Apr 3, 2023
8475666
style: format code with prettier
vplasencia Apr 3, 2023
6afb098
refactor: ignore .next and public folders
vplasencia Apr 3, 2023
4d1a637
feat(cli): add inquirer to select a template when creating a project
vplasencia Apr 4, 2023
e38b040
refactor(cli-template-contracts-hardhat): rename the cli hardhat temp…
vplasencia Apr 4, 2023
1c0d119
refactor(cli-template-monorepo-ethers): rename cli hardhat-nextjs-sem…
vplasencia Apr 4, 2023
ee6e1c1
refactor(cli-template-monorepo-subgraph): rename cli hardhat-nextjs-s…
vplasencia Apr 4, 2023
84c1dfa
refactor(cli): change cli template names
vplasencia Apr 4, 2023
58de92a
refactor(cli): update template apps' names
cedoor Apr 4, 2023
94bbf40
fix: limit some npm scripts to public packages
cedoor Apr 4, 2023
0a3654b
chore(cli): make monorepo cli templates private
cedoor Apr 4, 2023
045a2a2
chore(cli): update monorepo templates semaphore deps
cedoor Apr 4, 2023
84813c5
fix(contracts): set correct ProofVerifier event parameters
cedoor Apr 5, 2023
8a9c42b
chore(contracts): fresh semaphore contracts deployment
cedoor Apr 5, 2023
41a8813
style(contracts): format code with prettier
cedoor Apr 5, 2023
db2820e
chore(data): update subgraph url and contract addresses
cedoor Apr 5, 2023
81435b1
Merge pull request #303 from semaphore-protocol/milestone/semaphore-c…
vplasencia Apr 5, 2023
4ec0ba5
Merge pull request #304 from semaphore-protocol/fix/proof-event
vplasencia Apr 5, 2023
36f9b56
chore: remove private from package.json file in templates
vplasencia Apr 5, 2023
8376271
chore: v3.6.0-1
vplasencia Apr 5, 2023
7d4871f
fix(cli): add solhint file in monorepo-ethers and monorepo-subgraph t…
vplasencia Apr 6, 2023
6f38101
chore: add files field in the package.json file in monorepo-ethers an…
vplasencia Apr 6, 2023
4996ec1
chore: v3.6.0-beta.0
vplasencia Apr 6, 2023
206106a
chore(cli): create prepublish script to compress files
cedoor Apr 6, 2023
6e453ff
fix(data): check if groups exist before adding members
cedoor Apr 6, 2023
bd897a6
fix(cli): add gitignore file
vplasencia Apr 6, 2023
2467291
chore(cli): decompress and then remove the files.tgz file after downl…
vplasencia Apr 7, 2023
6b9c9c1
chore: v3.6.0-beta.1
vplasencia Apr 7, 2023
02d1395
refactor(cli): add the next-env.d.ts file to gitignore
vplasencia Apr 7, 2023
02658c0
chore(cli): create a script to remove unnecessary files in monorepo t…
vplasencia Apr 7, 2023
fe8a48b
chore: v3.6.0-beta.2
vplasencia Apr 7, 2023
c4f3565
fix(cli): update package.json file in monorepos with correct package …
vplasencia Apr 7, 2023
e17737d
chore: v3.6.0-beta.3
vplasencia Apr 7, 2023
aabad74
chore: v3.6.0-beta.4
vplasencia Apr 11, 2023
27ba252
refactor(cli): set the monorepo-ethers template as default when creat…
vplasencia Apr 11, 2023
74c2ed1
refactor(cli): copy the contents of the .env.example file to a new .e…
vplasencia Apr 11, 2023
c52f003
chore: vv3.6.0
vplasencia Apr 11, 2023
9f9ec70
chore: bump poseidon-lite minor version
chancehudson Apr 19, 2023
617bb36
Merge pull request #306 from vimwitch/bump-poseidon-lite
cedoor Apr 19, 2023
b98bdb3
chore: create json for community projects
cedoor Apr 19, 2023
10909c6
chore: update issue template to add projects
cedoor Apr 19, 2023
37bbdb4
docs: add section for semaphore projects
cedoor Apr 19, 2023
3ee4ceb
chore: add some projects
cedoor Apr 19, 2023
f0574c4
Merge pull request #309 from semaphore-protocol/chore/community-projects
cedoor Apr 19, 2023
e7ceb37
docs(cli): update the readme file to add the new commands
vplasencia Apr 20, 2023
faf7ff9
Merge pull request #310 from semaphore-protocol/docs/cli
cedoor Apr 20, 2023
22f33a8
chore: v3.7.0
cedoor Apr 20, 2023
eb63447
refactor(cli): update get-proofs description
vplasencia Apr 22, 2023
d151998
docs(cli): update the description of get-proofs command in the readme…
vplasencia Apr 22, 2023
10024bc
Merge pull request #311 from semaphore-protocol/ref/cli
cedoor Apr 22, 2023
6cc2b6a
feat(proof): add function to calculate nullifier hash
cedoor Apr 22, 2023
3f1432c
docs(proof): update README.md
cedoor Apr 22, 2023
dc7e0a1
chore: add Block Qualified to list of projects
zkzoomer Apr 25, 2023
9a24d36
ci(github): add semaphore js cname
cedoor Apr 26, 2023
8ff372e
docs: update package docs links
cedoor Apr 26, 2023
37951ff
Merge pull request #313 from 0xdeenz/main
cedoor Apr 26, 2023
946ac83
Merge pull request #312 from semaphore-protocol/feat/nullifier-hash
cedoor Apr 26, 2023
736bddb
chore: v3.8.0
cedoor Apr 26, 2023
92a6a7a
feat(data): add sepolia subgraph support
cedoor Apr 27, 2023
5e03355
feat(data): provide function to get supported networks
cedoor Apr 27, 2023
f50a160
Merge pull request #315 from semaphore-protocol/feat/subgraph
cedoor Apr 28, 2023
900da9c
chore: v3.9.0
cedoor Apr 28, 2023
0cb0ef3
test(data): add test for new function
cedoor Apr 28, 2023
594daba
docs(data): update readme file
vplasencia May 1, 2023
0ee1fa2
Merge pull request #316 from semaphore-protocol/docs/update-readme-da…
cedoor May 2, 2023
ed015cc
feat(group): add new class parameter to add members
cedoor May 15, 2023
5915ea0
Merge pull request #322 from semaphore-protocol/feat/init-members
cedoor May 15, 2023
9d7076a
feat(data): create function to check if a member exists
cedoor May 15, 2023
2b430da
style(data): format code with prettier
cedoor May 15, 2023
e783465
Merge pull request #324 from semaphore-protocol/feat/is-member
cedoor May 15, 2023
d1d309a
fix(group): make members bigint types
cedoor May 17, 2023
41181c6
chore: v3.10.1
cedoor May 17, 2023
8552640
docs: add a new project to the projects file
vplasencia Aug 2, 2023
44177ce
docs: fix typo
vplasencia Aug 2, 2023
a786f10
docs: fix typo
vplasencia Aug 2, 2023
763663c
docs: change tagline
vplasencia Aug 2, 2023
e5bcd18
Merge pull request #336 from semaphore-protocol/docs/add-project
cedoor Aug 2, 2023
7d26d4e
docs: add new project to readme file
cedoor Aug 2, 2023
369257d
feat: add identitycommitment as groups filter
wslyvh Aug 14, 2023
82ad9a5
chore(proof): update snarkjs version
cedoor Aug 21, 2023
7467aac
Merge pull request #338 from wslyvh/main
cedoor Aug 21, 2023
8afa314
refactor(proof): add MerkleProof type to exports
cedoor Aug 21, 2023
ac555f5
Merge pull request #347 from semaphore-protocol/refactor/proof-exports
cedoor Aug 21, 2023
44acbf8
Merge pull request #346 from semaphore-protocol/chore/snarkjs-version
cedoor Aug 21, 2023
7a07dda
test(data): add test for identityCommitment filter
cedoor Aug 21, 2023
478e6fa
chore: v3.11.0
cedoor Aug 21, 2023
09e062d
Adding Bandada to project list
aguzmant103 Aug 22, 2023
6f7dd99
chore: update pse domain
cedoor Sep 1, 2023
d420484
refactor(cli): improve error messages
vplasencia Sep 4, 2023
e1f66a7
Merge pull request #356 from semaphore-protocol/ref/improve-error-mes…
cedoor Sep 4, 2023
20f2831
fix(data): check address value before setting it
cedoor Sep 12, 2023
729764d
style(data): remove console log
cedoor Sep 12, 2023
91429e0
Merge pull request #359 from semaphore-protocol/fix/semaphore-ethers
cedoor Sep 12, 2023
05704e3
chore: v3.11.1
cedoor Sep 12, 2023
7ac640c
chore: update typedoc configuration
cedoor Sep 13, 2023
222153e
chore: update lockfile
cedoor Sep 13, 2023
437fa9a
Merge pull request #361 from semaphore-protocol/chore/typedoc
cedoor Sep 13, 2023
715b1f8
Merge branch 'dev'
cedoor Sep 13, 2023
daf5589
Merge branch 'main' into main
cedoor Sep 21, 2023
4280bff
Merge pull request #349 from aguzmant103/main
cedoor Sep 21, 2023
ebe3628
chore: add snarkjs and circomlibjs type definitions
cedoor Sep 21, 2023
f212684
Merge pull request #363 from semaphore-protocol/chore/snarkjs-circoml…
cedoor Sep 21, 2023
18bf708
feat(data): add viem package for SemaphoreEthers
inaridiy Sep 22, 2023
2b93ba6
feat(data)!: replace ABI with TS from JSON
inaridiy Sep 22, 2023
7f4130e
feat(data): impl SemaphoreViem constructor
inaridiy Sep 22, 2023
7146f3c
feat(data): impl SemaphoreViem fetch methods
inaridiy Sep 22, 2023
a1ae522
style(data): add comments to improve code readability
inaridiy Sep 22, 2023
1f537ca
feat(data): export SemaphoreViem in index.ts
inaridiy Sep 22, 2023
e9d7898
refactor(data): remove unused import "Transport"
inaridiy Sep 22, 2023
08b2bf7
feat(data): set default chain to sepolia in SemaphoreViem
inaridiy Sep 22, 2023
0959a43
docs(data): write docs about SemaphoreViem
inaridiy Sep 22, 2023
74ad60e
fix(data): rename _groupId to groupIdBigint
inaridiy Sep 22, 2023
8b9ea83
test(data): write test for SemaphoreViem
inaridiy Sep 22, 2023
3446e49
chore(data): add typescript 5.2.2 for building with viem
inaridiy Sep 22, 2023
f2261ed
refactor(data): replace url check to URL constructor
inaridiy Oct 2, 2023
3ab1939
style(data): add types for getGroupVerifiedProofs func
inaridiy Oct 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#root = true

[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
indent_size = 4

[*.md]
trim_trailing_whitespace = false
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
DEFAULT_NETWORK=hardhat
TREE_DEPTH=20
ALL_SNARK_ARTIFACTS=true
REPORT_GAS=false
BACKEND_PRIVATE_KEY=
INFURA_API_KEY=
COINMARKETCAP_API_KEY=
ETHERSCAN_API_KEY=
37 changes: 37 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# dependencies
node_modules
package-lock.json
yarn.lock
.yarn

# testing
coverage
coverage.json

# hardhat
artifacts
cache
typechain-types

# types
types

# circuits
circuits

# production
dist
build
docs

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# packages
cli-template-*
24 changes: 24 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"root": true,
"env": {
"es6": true
},
"extends": ["airbnb-base", "airbnb-typescript/base", "plugin:jest/recommended", "plugin:jest/style", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"project": ["./tsconfig.json", "./packages/**/tsconfig.json"]
},
"plugins": ["@typescript-eslint", "jest"],
"rules": {
"no-underscore-dangle": "off",
"import/no-extraneous-dependencies": "off",
"no-bitwise": "off",
"no-await-in-loop": "off",
"no-restricted-syntax": "off",
"no-console": ["warn", { "allow": ["info", "warn", "error"] }],
"@typescript-eslint/lines-between-class-members": "off",
"no-param-reassign": "off"
}
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.sol linguist-language=Solidity
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/----network.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: "\U0001F578️ Network"
about: Propose a new network in which to deploy Semaphore contracts
title: ''
labels: ''
assignees: ''

---

**Provide data related to the network**

* Name
* Chain id
* URL

**Why are you using this network?**

Describe the reasons why you think it is important for Semaphore to be deployed on this network.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/----project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: " \U0001F4A0 Project"
about: If you are using Semaphore we can help you share your project
title: ''
labels: "documentation \U0001F4D6"
assignees: ''

---

**Describe your project**
A brief description of your project. In what way have you used Semaphore?

**Other info**

- Name
- Tagline
- Icon

**Links**

- Website
- Github
- Socials
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/---bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: "\U0001F41E Bug"
about: Create a report to help us improve
title: ''
labels: "bug \U0001F41B"
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Technologies (please complete the following information):**

- Node.js version
- NPM version
- Solidity version

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/---feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "\U0001F680 Feature"
about: Suggest an idea for Semaphore
title: ''
labels: 'feature :rocket:'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/---package.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: "\U0001F4E6 Package"
about: Propose a new Semaphore package
title: ''
labels: 'feature :rocket:'
assignees: ''

---

**Describe the package you'd like**
A clear and concise description of the type of package you have in mind.

**Additional context**
Add any other context about the package here.
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- Please refer to our contributing documentation for any questions on submitting a pull request -->
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue

<!--- This project accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

## Does this introduce a breaking change?

- [ ] Yes
- [ ] No

<!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. -->

## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
14 changes: 14 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: auto-assign

on:
pull_request:
types: [opened]

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: wow-actions/auto-assign@v3
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
reviewers: org/core-devs
44 changes: 44 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: docs

on:
push:
branches:
- main

jobs:
gh-pages:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- name: Restore yarn cache
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install dependencies
run: yarn

- name: Generate doc website
run: yarn docs

- name: Publish on Github Pages
uses: crazy-max/[email protected]
with:
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading
Loading