Skip to content

'GitHub Oracle', an open-source tool that mirrors the status of repositories on a blockchain; when an issue changes to 'merged', it triggers a function in a smart contract to initiate a payment process, rewarding hardworking maintainers

Notifications You must be signed in to change notification settings

protocolwhisper/Github-Oracle-BB

Repository files navigation

🦉 Welcome to the Bounty Board Oracle - Venom!

In order to conjure up the Oracle magic, here's your trusty guide!

🛠️ Prerequisites:

Ensure you have the following:

  • Docker compose ⛵
  • yarn 🪄

🚀 Getting Started:

  1. To wake up the Oracle, simply run: shell sudo ./initoracle.sh Alt text

  2. To let the Oracle rest, use: shell ./stoporacle.sh

🔮 Interacting with the Oracle:

- Initiating the Oracle:

Send this request to get the Oracle started:

curl -X POST -H "access_token: 3e9bd24a88d140c29926d8c96453a39b" -H "Content-Type: application/json" -d '{
  "user_id": "your_user_id",
  "url_input": "https://example.com",
  "task_index": 1
}' http://localhost:8000/start

🔮 Querying the Oracle's task status:

Use the following request to inquire about the status of your bounty:

curl -X GET -H "access_token: 3e9bd24a88d140c29926d8c96453a39b" -G http://localhost:8000/status --data-urlencode "user_id=your_user_id" --data-urlencode "url_input=https://example.com"

🎁 Upon Completion:

Once the issue is resolved, the Oracle will change the status of the bounty to 'closed', enabling the payment to be liberated. ✨

About

'GitHub Oracle', an open-source tool that mirrors the status of repositories on a blockchain; when an issue changes to 'merged', it triggers a function in a smart contract to initiate a payment process, rewarding hardworking maintainers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages