LesnyRumcajs / filecoin

Collection of libraries to implement common patterns and standards on the Filecoin Virtual Machine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Collection of libraries to implement common patterns and standards on the Filecoin Virtual Machine

License:Other


Languages

Language:Rust 99.4%Language:Makefile 0.4%Language:Python 0.2%