dappconnect-vote-poll-sdk/examples/mainnet-poll
Franck dc783a9f16
Remove address for url
2022-01-04 16:43:33 +11:00
..
src Remove wallet logic for Poll component 2022-01-04 16:36:00 +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 Remove address for url 2022-01-04 16:43:33 +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