EV3 has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it.
Please read the full text so that you can understand what actions will and will not be tolerated.
There are a lot of great resources on creating a good pull request. We've included a few below, but don't be shy we appreciate all contributions and are happy to help those who are willing to help us!
Awesome! It's pretty straight-forward. We recommend copying an existing project to get started. You'll see that they all follow a similar pattern. You'll need to fill out:
- Project Name:
- Chain: Choose between 'ETHEREUM', 'SOLANA', 'ALGORAND', 'COSMOS', 'CARDANO', 'POLKADOT', 'POLYGON', 'IOTEX', 'BINANCE', 'KADENA', etc. Use 'NATIVE' for native chains or 'n/a' for projects with no token.
- Category: Choose between 'WIRELESS', 'SENSORS', 'ENERGY', 'COMPUTE', 'AI' or 'OTHER'.
- Token: ticker (e.g., 'BTC' or 'ETH')
- CoingeckoID: Find on CoinGecko project page (in URL).
- CmCID: Find on CoinMarketCap project page (in image URL of project icon).
- ID: Generate in Step #6 below.
Try not to include more than one project/issue in a single PR. It's much easier for us to review multiple small pull requests than one that is large and unwieldy.
-
Clone the fork to your local machine and add upstream remote:
git clone https://github.com/<your username>/adapters.git
cd adapters
git remote add upstream https://github.com/ev3-team/adapters.git
- Synchronize your local
staging
branch with the upstream remote:
git checkout staging
git pull upstream staging
- Install dependencies with pnpm:
pnpm i
- Create a new branch related to your PR:
git checkout -b project/<project-name>
-
Copy & rename an existing project folder, then fill out the relevant datapoints.
-
Generate new uniqueID and paste in into the new project file:
pnpm generate:project-id
- Then commit and push to your forked repository:
git push -u origin HEAD
-
Go to the repository and make a Pull Request.
-
We will review your Pull Request and either merge it, request changes to it, or close it with an explanation. Please email ninja@ev3.xyz with any questions.
In order to see the changes reflected in the frontend you'll have to publish a new package version, we are using changeset and github actions to do this, you can follow the next steps if you want to publish a new version:
- Make sure you’re in staging branch with latest changes:
git checkout staging && git pull
- Run
pnpm changeset
and fill in the two fields: 1. What kind of change is this.. and 2. Summary confirm changeset. (this step will generate a .md file in the .changeset folder ) - Then run
pnpm changeset version
this command will use the generated .md file to update the package.json with the new version and the update the CHANGELOG.md file with the new version description. - Then commit and push this changes to staging.
- After you have all your changes ready to publish then merge staging into main, this step will trigger the publish ci job.
Make changes and contribute in a single click with an already setup and ready to code developer environment using Gitpod !