dappconnect-vote-poll-sdk/examples/mainnet-poll
Franck 415be0a8cc
Remove dupe terminology
2022-01-04 11:49:42 +11:00
..
src Remove dupe terminology 2022-01-04 11:49:42 +11:00
test Rename to mainnet-poll 2022-01-03 12:32:42 +11:00
.eslintrc.json Ignore parent eslint conf 2022-01-03 12:53:15 +11:00
.mocharc.json Rename to mainnet-poll 2022-01-03 12:32:42 +11:00
.prettierrc.json Rename to mainnet-poll 2022-01-03 12:32:42 +11:00
README.md Rename to mainnet-poll 2022-01-03 12:32:42 +11:00
package.json Install prettier 2022-01-03 12:53:05 +11:00
tsconfig.json Rename to mainnet-poll 2022-01-03 12:32:42 +11:00
webpack.config.js Use es2020 to get Big integer literals 2022-01-04 11:18:39 +11:00
yarn.lock Install prettier 2022-01-03 12:53:05 +11:00

README.md

Mainnet WakuConnect Poll SDK Example

yarn
yarn start

Then go to https://localhost:8181/

To create or answer a poll, you need to hold SNT token by default on mainnet.

To create or answer a poll, you will need to sign a message with your wallet.

If you do not hold SNT tokens, you can use this demo app with any other mainnet ERC20 token, just pass the token contract address to the token query parameter.

For example, for DAI:

https://localhost:8181/?token=0x6B175474E89094C44Da98b954EedeAC495271d0F?a=0x93c0c3076f3a08e4671c84c31f1f80d2abd03dd5