10 Commits

Author SHA1 Message Date
r4bbit
e6dec47f02
chore: add config files from foundry template (#69)
The ultimate goal will be to move the contracts package into its own repository that's based on our foundry template.
This commit adds foundry template config files and removes legacy
hardhat stuff.
2023-10-04 10:47:40 +02:00
Jakub Kotula
420c9b2849
Featured voting (#37)
* initial

* featured

* featured

* votings

* votings

* add log votings

* comment out notification list for now, fix initialize voting

* featured section | voting flow

* changes

* changes

* refactor waku get/send

* verification debug

* temp

* clean up

* clean up

* comment

* fix lodash import

* revert deploy params

* already voted

* fix tests for format time left fn

* fix decode waku feature test

* restrict UI to only one vote

* fix multiple voting system

* fix contract

* update build step

* verbose compilation

* upgrade hardhat

* git revert build

* Revert "verbose compilation"

This reverts commit f5c57dbcbcac100d8400a281c18009ec62717899.

---------

Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2023-06-29 20:07:41 +02:00
Pavel
e0fb725ce5
Upgrade @usedapp/core, fix Waku initialization & fix environment config (#22)
* update clean scripts

* add dev scripts to packages/contracts

* upgrade to latest @usedapp/core

* make config explicit

* move contracts to constants

* fix config imports

* fix and simplify waku initialization

* use correct dapp config

* fix errors
2023-05-02 14:53:34 +02:00
Patryk Osmaczko
a4164dbe11 feat(VotingContract): add verification period
closes: #5
2023-03-23 20:44:56 +01:00
Patryk Osmaczko
6f23feab16 chore: migrate contracts to hardhat 2023-03-20 10:06:09 +01:00
Felicio Mununga
5b257aeafe
Fix usage of ts-node/esm and mocha (#12)
* revert lockfile

* revert deps

* update webpack

* update mocha

* update ts-node

* add core-js

* update js-waku

* add rimraf

* set ts-node and typescript versions

* update ts-node in contracts

* update ts-node in dapp

* update typescript in contracts

* update typescript in dapp

* extend tsconfig files

* remove ts-node/register from .mocharc

* fix @usedapp/core import

* fix `VotingContract.sol` lint errors

* set `exit` config
2023-03-15 19:22:19 +01:00
Szymon Szlachtowicz
69d10145fa
Use EIP712 (#186) 2021-08-27 14:53:14 +02:00
Szymon Szlachtowicz
2b6440fc8f
Bump useDApp version (#179) 2021-08-04 15:47:10 +02:00
Szymon Szlachtowicz
f8e3bb605e
Mock contract (#45)
* Mock contract

* refactor code

* Add event to vote cast

* Add list of voters

* Add deploy
2021-06-23 23:33:25 +02:00
Szymon Szlachtowicz
4421d1666a
Introduce monorepo (#40)
* Introduce monorepo

* Introduce mock contract

* Add readme

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-17 13:33:35 +02:00