Skip to content

Fix/readme - #14

Open
Zaptoss wants to merge 3 commits into
mainfrom
fix/readme
Open

Fix/readme#14
Zaptoss wants to merge 3 commits into
mainfrom
fix/readme

Conversation

@Zaptoss

@Zaptoss Zaptoss commented Jul 25, 2024

Copy link
Copy Markdown
Contributor

No description provided.

Zaptoss added 3 commits July 25, 2024 11:32
…nge proof in tests. Some tests fail because proof must be generated in the same day that test pass. One test alway fail because of disabled verifier logic.
@Zaptoss
Zaptoss requested a review from violog July 25, 2024 09:14
@Zaptoss Zaptoss self-assigned this Jul 25, 2024
Comment thread README.md

This repository is an SDK for connecting external services with Rarimo passport
verification system that may be used in back-end services. Its main purpose is
verification and voting systems that may be used in back-end services. Its main purpose is

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
verification and voting systems that may be used in back-end services. Its main purpose is
passport and voting proof verification system that may be used in back-end services. Its main purpose is

Comment thread README.md

func main() {
rv := root.NewVerifier(contractCaller, reqTimeout)
passportVerifier := root.NewPoseidonSMTVerifier(rpcURL, contractAddress, reqTimeout)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not general usage. Add headers: Passport, Voting, etc.

Comment thread README.md
root_verifier:
rpc: https://your-rpc
contract: 0x...
verifier:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add examples of using config. It might be either ProvideVerifier() with specified Type or custom initialization without Provider.

Comment thread options.go
}
}

func withSkipExpirationCheck(check bool) VerifyOption {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment that it's only for tests, or make it exported and describe a use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants