You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node: Do not throw error if internalUrl not provided. Instead use url (#503) (053faae)
TXBuilder: Fix payload serialization if you try to unpackpack and pack tx. (#498) (73552e5)
TxValidator: Fix validation of state channel open transaction (#496) (325cc90)
Features
ACI: Refactor ACI module. Split to separated files. (#505) (fb7bc00)
Selector: If default account address not provided use the first
ACI: Handle ACI without init function
ACI: Automatically decide to send transaction on-chai or call-static.
Add options object like last arguments of generate fn under instance.methods
const instance = await client.getContractInstance(source)
// Deploy contract
await.contract.init(100, 'test', options)
//or
await.contract.deploy([100, 'test], options)
// Call function
const result = await instance.call('sum', [2, 5], options)
//
// Automatically decide to send tx on-chain or call-static(dry-run) base on if function stateful or not
const result = await instance.methods.sum(2, 5, options)
// Mannualy make on-chain
const result = await instance.methods.sum.send(2, 5, options)
// Mannualy make call-static
const result = await instance.methods.sum.get(2, 5, options)
//
Docs
Usage:: Add instructions about how to include directly the SDK in a html page
The text was updated successfully, but these errors were encountered:
4.1.0 (2019-06-22)
Bug Fixes
internalUrl
not provided. Instead useurl
(#503) (053faae)Features
address
not provided use the firstAdd
options
object like last arguments of generate fn underinstance.methods
Docs
SDK
in ahtml page
The text was updated successfully, but these errors were encountered: