Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Uniswap/sybil-verifier-worker
Cloudlfare worker to verify mappings for Sybil, a governance tool for delegates.
https://github.com/Uniswap/sybil-verifier-worker
Last synced: 3 months ago
JSON representation
Cloudlfare worker to verify mappings for Sybil, a governance tool for delegates.
- Host: GitHub
- URL: https://github.com/Uniswap/sybil-verifier-worker
- Owner: Uniswap
- Created: 2020-12-07T15:59:24.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-12T06:28:32.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T19:25:00.242Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 496 KB
- Stars: 27
- Watchers: 6
- Forks: 67
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-dao-zh - sybil verifier worker - Uniswap 治理 ETH 地址与 Twitter 帐户验证器 (nodejs) (反女巫攻击)
- awesome-dao - sybil verifier worker
README
## Sybil Verifier
This is a verifier used by the Sybil interface for verifying links between Ethereum addresses and Twitter profiles.
- Sybil interface for governance: [https://sybil.org]https://sybil.org)
- Sybil documentation: [https://github.com/Uniswap/sybil-list](https://github.com/Uniswap/sybil-list)
- Interface repo: [https://github.com/Uniswap/sybil-interface](https://github.com/Uniswap/sybil-interface)
- Read the Sybil announcement post : [https://uniswap.org/blog/sybil/](https://uniswap.org/blog/sybil/)## Development
#### Install Dependencies
```bash
npm install
```#### Run with Wrangler
You must create a file `wrangler.toml` with your cloudflare app information. See [wrangler-example.toml](./wrangler-example.toml) for setup.
You can use [wrangler](https://github.com/cloudflare/wrangler) to generate a new Cloudflare Workers project based on this template by running the following command from your terminal:
```
wrangler generate myapp https://github.com/cloudflare/worker-template-router
```Before publishing your code you need to edit `wrangler.toml` file and add your Cloudflare `account_id` - more information about publishing your code can be found [in the documentation](https://workers.cloudflare.com/docs/quickstart/configuring-and-publishing/).
Once you are ready, you can publish your code by running the following command:
```
wrangler publish
```To work with changes locally before publishing run
```
wrangler preview --watch
```#### Serverless
To deploy using serverless add a [`serverless.yml`](https://serverless.com/framework/docs/providers/cloudflare/) file.