Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 2.32 KB

README.md

File metadata and controls

64 lines (38 loc) · 2.32 KB

Getting Started

Requirements / Steps are performed on MacOS.

Requirements:

  • Foundry [Official Docs]:

    curl -L https://foundry.paradigm.xyz | bash

  • Rust [Official Docs]:

    curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

  • Yarn[Official Docs]:

    npm install --global yarn

  • CMake [Official Docs]:

    • [MacOS] Install GUI: v3.7.0

    • Add it to the Application folder

    • Open terminal and run:

      sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install

Setup process:

  • Clone the repo with the --recursive flag

    git clone https://github.com/filecoin-project/filecoin-solidity.git --recursive
    
  • Run: cd filecoin-solidity

  • Install Solc:

    • MacOS: make install_solc_mac
    • Linux: make install_solc_linux
  • Run: make

Workflow

  • Compiling / testing contracts:

    forge <build/test>

  • Running all of the integration tests:

    make test_integration

  • Running individual integration tests:

Supported networks

The following table contains information about the versions of filecoin network on which the filecoin-solidity library has been tested on.

FVM version Builtin actors Pass
[email protected] builtin_actors@dev/20230206-pre-rc.6