mto-metamask-driver
v1.0.19
Published
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.
Downloads
23
Readme
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
);