The first step is to read the Code Contribution Guidelines documentation to get a good understanding of policies used by the project
Once that is done, the following commands illustrate a straight forward setup for submitting pull requests to the project:
- Fork btcd on github
- Run the following command to obtain btcd, all dependencies, and install it (this has probably already been done):