Contributing as a Developer
Last updated
Last updated
We are using a pnpm
workspace, installing things via npm will result in broken dependencies.
You're using a version of node that's on/after version 16.13.2
Install node by visiting
You have pnpm installed.
You can install pnpm by running in your terminal
Fork our
Go to the forked repo and click the green "Code" button
Copy the HTTPS link (i.e https://github.com/your-username/nft-gallery.git)
Go to your IDE and open the terminal
Type in the terminal "git clone your-HTTPS-link".
For example,
Then paste these two commands in the terminal
If you come across ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version), run
Lastly, start the server by running
Build the docker image
Check if the container is up:
Run:
KodaDot supports Hot Module Replacement on Docker; any changes made will take effect immediately.
Current Indexers, we have/use:
SubSquid
SubQuery
Show all problems
Show only errors
Fix errors
To generate a changelog, use GitHub CLI List only merged
If you need a limit, use -L
How can I resolve conflict on yarn.lock?
CONFLICT (content): Merge conflict in yarn.lock
When you see conflict on yarn.lock
and you are on your pull-request branch, merge the upstream branch and run yarn
, unless you have a conflict on package.json
, which requires manual resolution.
Every .graphql
file is located in the src/queries/
.
To use it inside the .vue
file, we can import it like a regular module: For specific purposes, we also need to import the PrefixMixin
. Thanks to that app, know which indexer is using.
PrefixMixin is only applicable to the SubQuery indexers. To use SubSquid, please use client: 'subsquid' in the query call.
Then we can use it like this:
If you've forked nft-gallery before January 15, 2022, you have an older fork that doesn't include our newest additions.
There are two ways you can work around this:
Learn more about these issues here:
KodaDot will be available at .
If you want to try out our KodaDot on Kusama, you must have Docker () and docker-compose () installed to have a local setup and node.
KodaDot will be available at .
To run the complete local environment, we recommend running a . In case you are using Apple M1, we have a
RMRK:
RMRK:
Statemine (Unique NFT pallet):
You can change the network in the navbar. Currently supported networks are Kusama, Westend, statemine, westmint
. Do you want to add more networks?
Before submitting your pull request, read up on our and make sure it follows:
We our contributors in $KSM for their time and effort with every issue they solve. If you're finding yourself to be more involved with KodaDot, we are always .
We have bi-weekly meetings with contributors of KodaDot to share each other's progress as well as future goals in our . Before speaking, please make sure you're prepared as a .
Is this your first time joining? Feel free to catch up on our !
This is the original posting from our bi-weekly digests on progress and development