rynst / pixura-contracts

Pixura smart contracts and wrapper libraries for the contracts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pixura Contracts

Smart Contracts and various language bindings for the SuperRare and Pixura ecosystem.

We use chanterelle to manage smart contract compilation, deployment, and testing.

Init

make init

Build

Solidity

make compile-contracts

Haskell

make hs-build

PureScript

make purs-build-all

Tests

Tests require docker and docker-compose and require the purescript libraries to be built. See build for details. To run:

make contract-tests

SDKs

Haskell

Haskell bindings for the pixura smart contracts.

These can be easily imported by adding this project to your stack.yaml.

PureScript

Purescript bindings for the contracts can be found in the purs-contracts directory.

The v4 and v5 directories indicate which solc compiler was used. From a usage perspective there is no difference.

Javascript/Typescript

WIP, eventually to be compiled from the PureScript libraries.

About

Pixura smart contracts and wrapper libraries for the contracts.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PureScript 83.6%Language:Solidity 13.8%Language:Dhall 1.1%Language:Haskell 1.0%Language:Makefile 0.5%