Skip to content

Latest commit

History

History
20 lines (12 loc) 路 860 Bytes

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