Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ttytm/anchor-solana-bounty-todos
TODOs with rewards.
https://github.com/ttytm/anchor-solana-bounty-todos
anchor blockchain dapp solana web3
Last synced: about 1 month ago
JSON representation
TODOs with rewards.
- Host: GitHub
- URL: https://github.com/ttytm/anchor-solana-bounty-todos
- Owner: ttytm
- Created: 2022-06-14T22:25:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T22:38:38.000Z (over 2 years ago)
- Last Synced: 2024-12-07T20:43:48.578Z (about 2 months ago)
- Topics: anchor, blockchain, dapp, solana, web3
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Tested functionalities
```
❯ anchor test
todos
create lists
✔ can create a list
✔ can create another list for a user with an active list
add items
✔ can add items from different users
✔ cannot add items when the list is full
✔ cannot use a bounty smaller than the rent-exempt amount
cancel items
✔ can cancel item: list owner
✔ can cancel item: item creator
✔ cannot cancel item: other user
✔ cannot cancel item: item creator with wrong key
✔ cannot cancel item in other list
finish
✔ can finish items: first owner then item creator
✔ can finish items: first item creator then list owner
✔ cannot finish items: other user
✔ cannot finish item in other list
✔ cannot finish item with wrong list owner
✔ cannot finish an already-finished item
```