9 stable releases

2.0.0 Sep 7, 2023
1.6.0 Jul 7, 2023
1.5.0 Apr 5, 2023
1.4.0 Mar 14, 2023
0.2.0 Sep 15, 2022

#211 in Unix APIs

Download history 1734/week @ 2023-06-06 2059/week @ 2023-06-13 2535/week @ 2023-06-20 1757/week @ 2023-06-27 2308/week @ 2023-07-04 2621/week @ 2023-07-11 2566/week @ 2023-07-18 2379/week @ 2023-07-25 2048/week @ 2023-08-01 3017/week @ 2023-08-08 2412/week @ 2023-08-15 1625/week @ 2023-08-22 3053/week @ 2023-08-29 1922/week @ 2023-09-05 1276/week @ 2023-09-12 1464/week @ 2023-09-19

8,005 downloads per month
Used in 53 crates (2 directly)

MIT/Apache

10KB
155 lines

Filecoin

Filecoin is a decentralized storage network designed to store humanity's most important information.

This repo contains utilities and libraries to work with the Filecoin Virtual Machine

Coverage Status

Packages

fvm_actor_utils

A set of utilities to help write testable native actors for the Filecoin Virtual Machine. Provides abstractions on top of FVM-SDK functionality that can be shimmed or mocked in unit tests. This includes helpers for:

  • Universal receiver hooks (as defined in FRC-0046)
  • IPLD-compatible blockstore
  • Messaging and address resolution

frc42_dispatch

Reference library containing macros for standard method dispatch. A set of CLI utilities to generate method numbers is also available: fvm_dispatch_tools

Specification Reference Implementation Examples
FRC-0042 frc42_dispatch greeter

frc46_token

Reference library for implementing a standard fungible token in native actors

Specification Reference Implementation Examples
FRC-0046 frc46_token basic_token basic_receiver

frc53_nft

Reference library for implementing a standard non-fungible token in native actors

Specification Reference Implementation Examples
FRC-0053 frc53_nft basic_nft basic_receiver

frc46_factory_token

A configurable actor that can be used as a factory to implement FRC-0046 tokens, based on frc46_token

License

Dual-licensed: MIT, Apache Software License v2.

Copyright Protocol Labs, Inc, 2022

Dependencies

~0.4–1.3MB
~28K SLoC