mirror of
https://github.com/status-im/github-oracle.git
synced 2026-08-27 09:51:10 +00:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
adaa66826a
commit
e97f29e10d
@@ -1,5 +1,5 @@
|
||||
# GitHubToken
|
||||
Contract using Oraclize that mint tokens by github commit stats.
|
||||
# GitHubOracle
|
||||
Tokenize github repositories by commits and issues. Accept donations in eth tokens, distribute donations and bounties to code commiters.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -15,8 +15,8 @@ Example: `GitHubOracle.addRepository("ethereans/github-token")`
|
||||
|
||||
### Claiming Tokens
|
||||
Push your commits to github and take the github commitid for each push.
|
||||
Call `GitHubToken.claim("<commitid>")`
|
||||
Example: `GitHubToken.claim("0d3a00941ed72a89f1bf273f17cfd12a0790b82d")`
|
||||
Call `GitHubOracle.claimCommit("<commitid>")`
|
||||
Example: `GitHubOracle.claimCommit("0d3a00941ed72a89f1bf273f17cfd12a0790b82d")`
|
||||
There is no need of specifing the user, this is returned by oraclize call, but the user need to be registered in GitHubOracle in order to claim the tokens.
|
||||
Anyone can call this, and the tokens will be sent to the address registered in user registry.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user