Everyone can contribute to the development of the Robotic Satoshis (RoboSats) open source project. If you’re looking for somewhere to start contributing, then check out the issue list sharing the “good first issue” label; such issues are good for newcomers.
This contributing guide is based on the Bisq contributing guide. Following best FOSS practices helps development remain organized as the project grows with new features and is continually optimized. Future contibutors will thank you for following these best practices and making your work easier to build on!
Matrix: RoboSats Development Group. Main developer communication group chat.
- Telegram: RoboSats Main Group EN🇬🇧. General discussion about RoboSats and any community-driven support happens publicly in the main Telegram group (English). If you’re wanting to hang out with other cool robots and/or have questions about RoboSats, then those discussions happen in Telegram. There are more groups available for public, community-driven support in other languages:
- ES🇪🇸 t.me/robosats_es
- RU🇷🇺 t.me/robosats_ru
- PT🇵🇹 t.me/robosats_pt
- CN🇨🇳 t.me/robosats_cn
Twitter: RoboSats. Provides important project updates, tips and tricks of using RoboSats, and other privacy-centric commentary. Questions may be asked to the Twitter account; however, Twitter limits the number of characters in a tweet and makes responding to questions restrictive. It’s best to direct your questions to the aforementioned public Telegram support group for a faster and more detailed response from community members!
- Nostr: npub1p2psats79rypr8lpnl9t5qdekfp700x660qsgw284xvq4s09lqrqqk3m82. Relays Twitter tweets and similarly responds to questions. While character limit is no issue, it’s still best to direct your questions to the aforementioned public Telegram support group for a faster response from community members!
Discussion about code changes happens in GitHub issues and pull requests (PRs).
All RoboSats contributors submit changes via pull requests. The workflow is as follows:
- Fork the repository
- Create a topic branch from the
- Commit patches
- Squash redundant or unnecessary commits
- Submit a pull request from your topic branch back to the
mainbranch of the main repository
- Make changes to the pull request if reviewers request them and request a re-review
Pull requests should be focused on a single change. Do not mix, for example, refactorings with a bug fix or implementation of a new feature. This practice makes it easier for fellow contributors to review each pull request.
Reviewing Pull Requests
Robosats follows the review workflow established by the Bitcoin Core project. The following is adapted from the Bitcoin Core contributor documentation:
Anyone may participate in peer review which is expressed by comments in the pull request. Typically reviewers will review the code for obvious errors, as well as test out the patch set and opine on the technical merits of the patch. Project maintainers take into account the peer review when determining if there is consensus to merge a pull request (remember that discussions may have been spread out over GitHub and Telegram). The following language is used within pull-request comments:
ACKmeans “I have tested the code and I agree it should be merged”;
NACKmeans “I disagree this should be merged”, and must be accompanied by sound technical justification. NACKs without accompanying reasoning may be disregarded;
utACKmeans “I have not tested the code, but I have reviewed it and it looks OK, I agree it can be merged”;
Concept ACKmeans “I agree in the general principle of this pull request”;
Nitrefers to trivial, often non-blocking issues.
Please note that Pull Requests marked
NACK and/or GitHub’s
Change requested are closed after 30 days if not addressed.
Developer Compensation (Pilot Program)
Check the current state of the Developer Compensated tasks in the Github Project
At the moment, RoboSats is a young and unfunded project, but has shown the ability to generate enough revenue to barely cover operational costs. A developer compensation program is the best way to ensure the sustained support of the code base. For the time being, code contributions to the core project will be given small rewards more akin to a tip than a meaningful monetary compensation. The pilot procedure for compensated development:
- The developer opens a PR with the description of the work that will be done, optionally including the amount of Sats he thinks the work deserves.
- An offer/negotiation takes place to set an amount of Sats until agreed upon. Everyone is welcome to express opinion on whether the compensation is right for the PR.
- The work happens: buidl, buidl, buidl!
- The review takes place. Once maintainers give the OK for the merge…
- The developer submits an LN invoice (with a long expiration time). The invoice is paid at merge.
Every step (negotiation, code submission, review and invoice submission) must take place publicly in GitHub (i.e., no private messaging and the like). Please contact the team lead for development (@reckless-satoshi) upfront if you have doubts whether your contribution is suitable for compensation. Currently, only contributions to the frontend or backend core functionality and maintainence are eligible for compensations (for the time being, that excludes: art, translations, etc.).
Style and Coding Conventions
Configure Git user name and email metadata
See https://help.github.com/articles/setting-your-username-in-git/ for instructions.
Write well-formed commit messages
- Separate subject from body with a blank line
- Limit the subject line to 50 characters (*)
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters (*)
- Use the body to explain what and why vs. how
Sign your commits with GPG
See https://github.com/blog/2144-gpg-signature-verification for background and https://help.github.com/articles/signing-commits-with-gpg/ for instructions.
Use an editor that supports Editorconfig
The .editorconfig settings in this repository ensure consistent management of whitespace. Most modern editors support it natively or with plugin. See http://editorconfig.org for details.
Keep the git history clean
It’s very important to keep the git history clear, light and easily browsable. This means contributors must make sure their pull requests include only meaningful commits (if they are redundant or were added after a review, they should be removed) and no merge commits.