mto-backend-driver
v0.0.1
Published
HMP SDK-2 allow merchants to manipulate MTO products, orders, blockchain and disputes.
Downloads
4
Readme
HMP SDK
HMP SDK-2 allow merchants to manipulate MTO products, orders, blockchain and disputes.
How to use custom SDK in nodejs based app (rinkeby testnet)
import { DisputeDriver } from "mto-backend-driver";
import { Dispute, IDisputeFilterQuery } from "mto-backend-types";
let disputeDriver: DisputeDriver = new DisputeDriver(
"appkey",//appKey
"appSecret",//appSecrect
"0x"//privateKey
);
await disputeDriver.init();
const result:Dispute[] = await disputeDriver.getDisputes(filters:IDisputeFilterQuery);
})