Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/allemanfredi/lens-protocol-poll-module

Simple Lens Protocol module to create polls. At the moment the module is completely experimental in order to test the feasibility.
https://github.com/allemanfredi/lens-protocol-poll-module

Last synced: 19 days ago
JSON representation

Simple Lens Protocol module to create polls. At the moment the module is completely experimental in order to test the feasibility.

Awesome Lists containing this project

README

        

# lens-protocol-poll-module (work in progress)

Simple Lens Protocol module to create polls in which the voter can keep anonimity while voting. At the moment the module is completely experimental in order to test the feasibility.

 

***

 

## :white_check_mark: Publish & Verify

Create an __.env__ file with the following fields:

```
ETHERSCAN_API_KEY=
POLYGON_MAINNET_NODE=
POLYGON_MAINNET_PRIVATE_KEY=
```

### publish

```
❍ npx hardhat run --network mainnet scripts/deploy-script.js
```

### verify

```
❍ npx hardhat verify --network mainnet DEPLOYED_CONTRACT_ADDRESS "Constructor argument 1"
```

 

***

 

Part of the code is taken from [here](https://github.com/semaphore-protocol).