Versions in this module Expand all Collapse all v0 v0.6.0 Mar 19, 2020 Changes in this version + func EcdsaPubkeyToAddress(jsPubKeyBits js.Value) *then.Then — js/wasm + func EcdsaPubkeyToDid(jsPubKeyBits js.Value) *then.Then — js/wasm + func GenerateKey() *then.Then — js/wasm + func JsConfigToHumanConfig(jsBits js.Value) (*config.NotaryGroup, error) — js/wasm + func KeyFromPrivateBytes(jsBits js.Value) *then.Then — js/wasm + func NewEmptyTree(jsBlockService js.Value, jsPublicKeyBits js.Value) *then.Then — js/wasm + func PassPhraseKey(jsPhrase, jsSalt js.Value) *then.Then — js/wasm + func TokenPayloadForTransaction(jsBlockService js.Value, jsTip js.Value, tokenName js.Value, ...) *then.Then — js/wasm + type JSClient struct — js/wasm + func New(pubsub pubsubinterfaces.Pubsubber, humanConfig *config.NotaryGroup, ...) *JSClient + func (jsc *JSClient) GetLatest(jsDid js.Value) interface{} + func (jsc *JSClient) GetTip(jsDid js.Value) interface{} + func (jsc *JSClient) PlayTransactions(jsKeyBits js.Value, tip js.Value, jsTransactions js.Value) interface{} + func (jsc *JSClient) Start(ctx context.Context) error + func (jsc *JSClient) VerifyProof(proofBits js.Value) interface{} + func (jsc *JSClient) WaitForRound() *then.Then