Skip to content

Latest commit

 

History

History
71 lines (43 loc) · 2.78 KB

CONTRIBUTING.md

File metadata and controls

71 lines (43 loc) · 2.78 KB

Contributing

What can you contribute?

1. Feedback

Contributions in the form of feedback and issue is very much welcome. Might it be a suggestion, a bug report or maybe some questions that you have. It helps improving Kupo in the long run and these are probably the best kind of contributions to start with.

Do not hesitate to add thumbs up 👍 to open issues to show your interest.

2. Donation

Feel like tossing some coins for the project? Become a sponsor !

3. Code

Make sure to first read the user-manual 🕮 if you're willing to hack a bit on Kupo.

For development, stack or cabal should work out-of-the-boxTM provided that you have the right system dependencies. That is, you'd need the following:

You can run tests using

$ stack test kupo

# or similarly

$ cabal test all

Some tests are end-to-end and require to have a running (and roughly synchronized) cardano-node and/or ogmios against the testnet. These tests are automatically skipped, unless you set the following environment variables (using direnv for that is pretty convenient):

# For cardano-node
export CARDANO_NODE_SOCKET=/path/to/testnet/cardano-node/node.socket
export CARDANO_NODE_CONFIG=/path/to/testnet/cardano-node/config.json

# For Ogmios
export OGMIOS_HOST=127.0.0.1
export OGMIOS_PORT=1337

Coding standards are enforced using tools and configuration defined in the repository. Make sure to configure your editor to pick them up.

Pull requests are welcome, but we do recommend to open an issue to bring any idea to discussion first!

About Issues / Discussion

🐛 How To Report A Bug

Open a Bug Ticket.

💡 How To Propose An Idea

If you've already got a clear idea, open a Proposal ticket. Otherwise, feel free to bring it as a discussion [category: idea] first.

❓ How To Ask a Question

Create a Q&A Discussion

Make sure to mark your question as Answered once resolved!