Liqwid-Labs / plutus-extra

Helper libraries for Plutus.
Apache License 2.0
50 stars 30 forks source link

plutus-extra

Important note

This collection of libraries is now sunset, and is unlikely to receive future updates. We recommend that you use liqwid-plutarch-extra instead, as it is actively maintained.

What is this?

A collection of Plutus-related helper libraries. Currently, we have:

See the relevant sub-directories for more specific information.

How do I use this?

This repo consists of several libraries, with similar build instructions. To build any of them, you will need Nix, version 2.4 or later. The easiest way to build any of the sub-libraries is to use nix develop, followed by cabal new-build in the relevant sub-directory. You will need to enable nix-command and flakes to do this; either pass --extra-experimental-features nix-command --extra-experimental-features flakes to the nix call, or put the following in your nix.conf:

experimental-features = nix-command flakes

If you want to use any component as a dependency, you will need to ensure that your commit of Plutus matches ours (or you will have trouble). Check cabal.project to be sure. We follow the PVP, and will bump major versions whenever we update our Plutus dependencies.

Can I use this with Plutarch?

You can try, but we don't promise it will work. Some of the sublibraries may work, but others are unlikely to: for example, plutus-numeric will basically not help you at all when it comes to Plutarch.

What can I do with this?

The code is licensed under Apache 2.0; check the LICENSE.md file for details.