-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02b1f9f
commit 56414be
Showing
8 changed files
with
167 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Code of Conduct | ||
|
||
## My Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, I pledge to make participation in my project and community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. | ||
|
||
## My Standards | ||
|
||
Examples of behavior that contribute to creating a positive environment include: | ||
|
||
- Using welcoming and inclusive language | ||
- Being respectful of differing viewpoints and experiences | ||
- Gracefully accepting constructive criticism | ||
- Focusing on what is best for the community | ||
- Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior include: | ||
|
||
- The use of sexualized language or imagery and unwelcome sexual attention or advances | ||
- Trolling, insulting/derogatory comments, and personal or political attacks | ||
- Public or private harassment | ||
- Publishing others' private information, such as a physical or electronic address, without explicit permission | ||
- Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
## My Responsibilities | ||
|
||
As the project maintainer, I am responsible for clarifying the standards of acceptable behavior and am expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting me at <[email protected]>. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. I am obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [http://contributor-covenant.org/version/2/1][version]. | ||
|
||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/2/1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Contributing to MultiSigEnterpriseVault | ||
|
||
Thank you for considering contributing to MultiSigEnterpriseVault! I welcome contributions from the community and am excited to work with you. | ||
|
||
## How to Contribute | ||
|
||
### Reporting Bugs | ||
|
||
- Ensure the bug was not already reported by searching on GitHub under [Issues](https://github.com/emmanuelJet/MultiSigEnterpriseVault/issues). | ||
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring. | ||
- When opening a new issue, select the appropriate template that best matches your report (e.g., [Bug Report](.github/ISSUE_TEMPLATE/bug-report.md)). | ||
|
||
### Suggesting Enhancements | ||
|
||
- Search the existing [Issues](https://github.com/emmanuelJet/MultiSigEnterpriseVault/issues) for enhancement suggestions to avoid duplicates. | ||
- If you find a related issue, feel free to add your thoughts and suggestions. | ||
- If you don't find an existing issue, open a new one and describe the enhancement in detail. | ||
- Use the provided template for [feature requests](.github/ISSUE_TEMPLATE/feature-implementation.md) to ensure all necessary information is included. | ||
|
||
### Submitting Pull Requests | ||
|
||
- Fork the repository and create your branch from `main`. | ||
- If you've added code that should be tested, add tests. | ||
- Ensure the test suite passes. | ||
- Make sure your code lints. | ||
- Use the [pull request template](.github/PULL_REQUEST_TEMPLATE.md) to ensure all necessary information is included. | ||
- Follow the checklist in the template to verify that your pull request meets the project requirements. | ||
- Issue that pull request! | ||
|
||
## Code Style | ||
|
||
- Follow the existing code style and use `forge fmt` to format your code. | ||
- Document all functions using [NatSpec comments](https://docs.soliditylang.org/en/v0.8.20/natspec-format.html). | ||
- Write clear, concise commit messages. | ||
|
||
## Branch Naming Guidelines | ||
|
||
To keep a clean and understandable Git history, always base new branches off the `main` branch and follow these branch naming conventions: | ||
|
||
- Feature Branches: For new features use: `feat/<feature-name>` | ||
- Example: feat/owner-role | ||
- Enhancement Branches: For existing feature enhancements or improvements use: `perf/<enhancement-description>` | ||
- Example: perf/owner-access | ||
- Bug Fixes: For bug fixes, use: `fix/<issue-description>` | ||
- Example: fix/gas-estimation | ||
- Chores or Refactoring: For maintenance or refactoring tasks, use: `chore/<task-description>` | ||
- Example: chore/update-dependencies | ||
|
||
## Commit Message Guidelines | ||
|
||
To maintain a clean and readable commit history, follow these guidelines: | ||
|
||
- Use Conventional Commits: Format your commit messages as follows: | ||
|
||
```txt | ||
<type>: <short summary> | ||
``` | ||
|
||
Examples: | ||
- feat: signer role functionality | ||
- fix: gas estimation bug | ||
- Types of Commits: | ||
- feat: A new feature | ||
- fix: A bug fix | ||
- perf: A feature enhancement | ||
- docs: Documentation-only changes | ||
- test: Adding or updating tests | ||
- chore: Routine tasks like refactoring or updating dependencies | ||
|
||
## Community | ||
|
||
- Follow best practices for collaboration, and ensure tests are written for all new code. | ||
- Be respectful and considerate in your communication. | ||
- Follow the [Code of Conduct](CODE_OF_CONDUCT.md). | ||
|
||
## Getting Help | ||
|
||
If you have any questions, feel free to reach out by opening an issue, join the community chat, or send an email to <[email protected]>. | ||
|
||
I appreciate your contributions and thank you for your support! | ||
|
||
Emmanuel Joseph (JET) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters