mto-metamask-driver
TypeScript icon, indicating that this package has built-in type declarations

1.0.19 • Public • Published

HMP SDK

HMP SDK is a blockchain manager for an escrow contracts, it exports the full process for purchasing and selling a product and securing clients fidelity through escrow system.

test metemask SDK(rinkeby-testnet)

const driver = new MTOMetamaskDriver({
  blockchain: "rinkeby-testnet",
});
await driver.init();
const result = await driver.purchase(
  PRODUCT_ID,
  MERCHANT_ADDRESS,
  AMOUNT,
  DISPUTABLE_TIME,
  WITHDRAW_TIME
);

Readme

Keywords

none

Package Sidebar

Install

npm i mto-metamask-driver

Weekly Downloads

0

Version

1.0.19

License

ISC

Unpacked Size

176 kB

Total Files

18

Last publish

Collaborators

  • best2victory