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

Latest commit

 

History

History
20 lines (12 loc) · 860 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 860 Bytes

MVM pallet

Overview

This pallet provides Move virtual machine to execute Move smart-contracts on Substrate-based chain.

API

All provided extrinsics functions require to configure a gas limit, similar to EVM.

  • execute(tx_bc: Vec<u8>, gas_limit: u64) - execute Move script with bytecode tx_bc.
  • publish_module(module_bc: Vec<u8>, gas_limit: u64) - publish Move module with bytecode module_bc.
  • publish_package(package: Vec<u8>, gas_limit: u64) - publish package (a set of Move modules) from binary package. Allows to update Standard Library if calls from root, in the future root will be replaced with gov.

Read more about the Move VM pallet in the Pontem Documentation.

LICENSE

Licensed under the Apache License, Version 2.0