Skip to main content
Zondax Github LinkZondax Github Link
Theme SwitchTheme Switch

FVM Client Tool

This project is meant to be used as a client library to interact with your smart contracts. You will be able to install, instantiate and invoke methods of your smart contract. This is a JS package you can import easily in your project. Go to the project ↗️

Please, check the example folder in order to get more intel on how to use the client tool. It is super easy! Go to the example ↗️

Handle lifecycle of your smart contract

Install

To install a smart contract, you just need your binary file.

Instantiate

To create a new instance of that smart contract, you need the ABI and the CID you get when installing the binary file.

Interact

To interact with it, you need the ABI and one of two paths: the CID you get when installing the smart contract, or the address of your smart contract instance.

Tutorial