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
);