|
1 | 1 | import { Callout } from "nextra/components";
|
2 | 2 |
|
3 |
| -# Claim a bounty |
| 3 | +# Accept a bounty |
4 | 4 |
|
5 | 5 | This guide will explain how contributors can accept an existing bounty by
|
6 | 6 | creating a Github PR that references it.
|
7 | 7 |
|
8 |
| -## Start a pull-request |
| 8 | +## Find a bounty |
9 | 9 |
|
10 |
| -The process starts by creating a new PR. This PR can be from a branch in the |
11 |
| -original repository or from a fork. |
12 |
| - |
13 |
| -It's recommended to start as a draft PR to make it explicit that the task hasn't |
14 |
| -been finished. It doesn't have to contain any code at this point, it can be just |
15 |
| -an empty branch. |
| 10 | +The process starts finding an issue with a bounty. The maintainer should have |
| 11 | +made the initial deposit into the bounty and no one should have accepted the bounty previously. |
16 | 12 |
|
17 | 13 | ## Accept the bounty
|
18 | 14 |
|
19 |
| -Once you've created a PR, link it to the bounty you want to claim. |
| 15 | +Once you've found an issue, accept it! |
20 | 16 |
|
21 |
| -You can do this by adding a comment in the PR that starts with |
| 17 | +You can do this by adding a comment in the issue that starts with |
22 | 18 | `/githoney` and calls the `accept-bounty` command.
|
23 | 19 |
|
24 | 20 | Since only one contributor can be assigned to a bounty, it's crucial to do this early! This avoids the disappointment of putting in effort only to find someone else has already claimed the reward.
|
25 | 21 |
|
26 | 22 | The `accept-bounty` command has the following parameters:
|
27 | 23 |
|
28 | 24 | - `bountyId`: the id of the contract of the bounty, which can be found as a
|
29 |
| - comment in by the bot in the issue that describes the task. |
| 25 | + comment by the bot in the issue that describes the task. |
30 | 26 | - `address`: the Cardano wallet address that will be used to claim the reward if
|
31 | 27 | / when the PR get approved and merged.
|
32 | 28 |
|
33 | 29 | **Example:**
|
34 | 30 |
|
35 | 31 | ```
|
36 |
| -/githoney accept-bounty --bountyId abc111 --address addr1xxx |
| 32 | +/githoney accept-bounty --bountyId 111 --address addr1* |
37 | 33 | ```
|
38 | 34 |
|
39 | 35 | <Callout type="info">
|
|
0 commit comments