⚡AMAX On-chain Interaction - js sdk
Get Amax Object
import Amax from "@amax/amaxjs";
const client = Amax({
keyProvider: "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3",// private key
httpEndpoint: "http://127.0.0.1:8888",
chainId: chain.sys,
});import Amax from "@amax/amaxjs";
const client = scatter.amax(
network,
Amax,
{
...options,
authorization: [`${account.name}@${account.authority}`],
},
network.protocol,
);Amax Method on Object
Contract operation (single or multiple contracts)
Other Methods
Last updated