Inspiration
Having tried out some code bounty programs, they all required too much manual effort to claim the bounties and were not nicely integrated into the editing flows.
What it does
Smith is an extension for visual studio code, providing wallet functionality via neon-js and relying on some smart contracts to be called remotely. Users can post bounties on code lines by adding a " *//NEOBOUNTY: \d.\d+ GAS" tag. After commiting this code the extension will allow the user to post GAS to a remote stored contract. This GAS will be awarded when:
- Another NEO user (automatically via the extension) claims this problem to be solved
- The smart contract will save a "to be verified marker" with another commithash
- An oracle/owner run bot will check this marker by checking that the Github integration tests were red before and now are green
- The new commit is a direct child of the bounty commit
- All bounty markers are removed
- [Only changes to this file were done]
How I built it
Setting up local privnet and running into many problems.
Challenges I ran into
Random idea I had Sunday at 1am, so only 4 hours to work on and not getting that far.
Accomplishments that I'm proud of
Getting into it deeper than expected.
What I learned
New technology has it quirks.
What's next for smith
More work.
Built With
- docker
- neo
- neo-python
- neon-js
- typescript
- visual-studio-code
- vscode
Log in or sign up for Devpost to join the conversation.