-
Notifications
You must be signed in to change notification settings - Fork 281
Contributing
Hicdex: the Hic Et Nunc indexer
Hic Et Nunc Smart Contracts (Part 1)
We take PRs on a case-by-case basis. Please contact us in the discord in the #dev channel to have your PR considered.
You will need to create a feature branch from the main
branch, write all your code there, and then when you submit your PR you submit it against the main
branch.
If anything else is new to you, don't feel intimidated, come and join us on Discord and we'll take the time to help. https://discord.gg/Yx6UN5SkCd
When creating a component you need to provide a few properties in order to render the component properly. Try to avoid creating prop drilling, or even accessing react context in a component. The components should be as dumb as possible. The only place where you should have access to API requests, or React.Context is at the page level (src/pages/*
).
In terms of standard its a good practice to first do global imports, then relative imports and finally scss imports. So a component would look something like this:
import React from 'react' // a global import
import { Button } from '../button' // a relative import
import styles from './styles.module.scss' // a sass import
export const MyComponent = () => {
return <div className={styles.container}>My Component</div>
}
There are some auxiliary components that aren't doing much besides aiding with the layout. A good example of that is the /src/pages/objkt-display
where you have <Container/>
and <Padding />
. These components are similar to what reactstrap
provides, but we're trying to minimize our bundle size, so we're reducing on dependencies.
Please use the sidebar to navigate (on mobile its at the bottom of the page)
Want to contribute to the wiki? Please see How to contribute to the Wiki?
Minting Guide
- Introduction
- Edit your profile
- Getting started with Tezos
- How to mint 🌿
- How to swap 🔃
- How to cancel ❌
- How to burn 🔥
- How to resell 🏪
- Interactive OBJKTs
- Community Tutorials
FAQs
- General
- Maintenance Fees
- Troubleshooting
- OBJKT1SWAP
- Features Not Yet Implemented
- hDAO ○
- Contributing
- Contributing (Beginner's Guide)
- Beware Copyminters!
- Reporting Abuse
Misc