Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

SetProtocol/set-protocol-contracts

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date
May 4, 2020
Jun 9, 2020
Oct 21, 2021
Mar 13, 2019
May 19, 2020
Jul 8, 2020
Jun 9, 2020
May 27, 2020
Jul 8, 2020
May 24, 2020
May 19, 2020
Apr 9, 2018
Apr 9, 2018
Apr 21, 2020
Jul 7, 2018
Jul 21, 2018
Jun 11, 2018
Oct 21, 2021
May 26, 2020
Feb 28, 2019
Jul 8, 2020
May 26, 2020
Apr 1, 2020
May 24, 2020
Jul 20, 2018
Dec 2, 2022

Repository files navigation

Coverage Status License NPM

Set Protocol: A Specification for Token Abstraction

Contracts

Set Protocol is a specification for abstraction of higher order tokens on the ethereum blockchain written in the Solidity programming language. We use Truffle as a development environment for compiling, testing, and deploying our contracts. See the whitepaper for more details about Set Protocol.

More details about our contract architecture and deployed contracts can also be found in our wiki.

Contributing

We highly encourage participation from the community to help shape the development of Set. If you are interested in developing on top of Set Protocol or have any questions, please ping us on Discord.

Legacy

For legacy users, our audited V1 contracts can be found here.

Testing

  1. Docker Set up

    Firstly, you need to install Docker. The easiest way is to follow the Instructions on https://docs.docker.com/install/#supported-platforms

    You need to pull the docker image that you want to use by using the following command:

    docker pull ethereum/solc:0.5.7
    

    If you wish not to set up docker, you can turn off the docker: true flag in truffle.js

  2. Run yarn install

    yarn install
    
  3. Run an ethereum chain on a separate terminal window

    yarn chain
    
  4. Run unit tests

    yarn test