0.13.2 • Published 9 months ago
@minima-global/mds v0.13.2
Minima MDS Library
The Minima MDS (MiniDapp System) Library is a TypeScript implementation of the MDS interface for building MiniDapps on the Minima blockchain platform.
Features
- Fully typed MDS interface
- Promise-based API for asynchronous operations
- Comprehensive set of commands for interacting with the Minima blockchain
- File system operations
- Network requests
- Utility functions for data conversion
Installation
npm install @minima-global/mds
Usage
Using callback
MDS.cmd.block((data) => {
console.log('BLOCK DATA');
console.log(data);
});
You can also await the response
const res = await MDS.cmd.block();
console.log(res.response.block);