Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 1.22 KB

README.md

File metadata and controls

59 lines (35 loc) · 1.22 KB

Pixura Contracts

This repo has been archived. For the Latest Rare Protocol contracts please see the Rare Protocol Github

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.