UNPKG

rchain-toolkit

Version:

Node JS utils and methods to interact with rchain's rnode api and proto interfaces

11 lines (9 loc) 214 B
import { getPayment, revAddressFromPublicKey } from "./utils"; test("getPayment", () => { expect(getPayment(1, "a", 2, 3)).toEqual({ timestamp: 1, term: "a", phloPrice: 2, phloLimit: 3 }); });