Thanks for showing interest to contribute to graz
<3
The following is a set of guidelines for contributing to graz, which are hosted in the Graz Organization on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
This project and everyone participating in it is governed by the graz
Code of Conduct. By participating, you are expected to uphold this code.
graz
is a collection of React hooks containing everything you need to start working with the Cosmos ecosystem.
At the time there were no stable libraries for cosmos wallets. We were inspired by the patterns in wagmi
in the Ethereum ecosystem.
It greatly helps if you already have a basic understanding of:
The following steps will get you up and running to contribute to graz
:
-
Fork the repo (click the Fork button at the top right of this page)
-
Clone your fork locally
git clone https://github.com/<your_github_username>/graz.git cd graz
-
Setup all the dependencies and packages by running
pnpm
. This command will install dependencies and bootstrap the repo.We are using
pnpm
as the default package manager, we suggest to you to do the same. pnpm version should be9
or higher.
├── packages/ # local packages
│ └── graz/ # graz
├── docs/ # documentation website
└── example/* # example website (nextjs + chakra ui)
├── src/ # main project entry point
│ ├── actions/ # core functions
│ ├── chains/ # collections of chains
│ └── hooks/ # collection of hooks
│ └── provider/ # application state providers
│ └── store/ # application state stores
│ └── types/ # shared types
├── dist/ # output graz package
├── chains/ # output chains
pnpm graz install
: installgraz
projectpnpm graz build
: buildgraz
packagepnpm install
: install all projectspnpm dev
: compilesgraz
and start the development server of the example apppnpm graz cli -g
: compilesgraz
chains, needed for running examplespnpm project:docs dev
: start the documentation websitepnpm example dev
: start the example app
Pull requests only need one collaborator 👍 to be merged.
Before you create a Pull Request, please check whether your commits comply with the commit conventions used in this repository.
When you create a commit we kindly ask you to follow the convention of category (scope or module): title in your commit message, using one of the following categories:
feat / feature
: all changes that introduce completely new code or new featuresfix
: changes that fix a bug (reference the relevant issue(s) if possible)refactor
: any code-related change that is not a fix nor a featuredocs
: changing existing or creating new documentation (i.e. README, docs for usage of a lib or cli usage)build
: all changes regarding the build of the software, updates to dependencies, or the addition of new dependenciestest
: all changes regarding tests (adding new tests or changing existing ones)ci
: all changes regarding the configuration of continuous integration (i.e. github actions, ci system)chore
: all changes to the repository that do not fit into any of the above categories
If you are interested in the detailed specification you can visit https://www.conventionalcommits.org/ or check out the Angular Commit Message Guidelines.
By contributing your code to the graz GitHub repository, you agree to license your contribution under the MIT license.