massa-contract-parser
v1.0.0
Published
Parse Massa smart contract WASM code.
Downloads
9
Maintainers
Readme
Massa Contract Parser
Collection of utilities for parsing base64-encoded WASM smart contracts on Massa, extracting exported members, and detecting likely candidates for standard contract interface implementation.
Usage
Installation
$ npm install massa-contract-parser
Example
import Parser from 'massa-contract-parser';
(async () => {
const { code_base64 } = await getBytecode("")
console.log(parseContract(code_base64));
})();
Attribution
This package is based on the NEAR Contract Parser by NEAR Foundation.