diff --git a/classes/Entropy.html b/classes/Entropy.html index c305eb5f..076e0f86 100644 --- a/classes/Entropy.html +++ b/classes/Entropy.html @@ -1,5 +1,5 @@
import { Entropy, wasmGlobalsReady } from '@entropyxyz/sdk'
import { Keyring } from '@entropyxyz/sdk/keys'
async function main () {
const keyring = new Keyring({ seed })
const entropy = new Entropy({ keyring })
await wasmGlobalsReady()
await entropy.ready
}
main()
-Accessor for the keyring passed at instantiation
-A promise that resolves once all internal setup has been successfully completed.
-(Advanced) Accessor for the raw subtate API.
-Accessor for the keyring passed at instantiation
+A promise that resolves once all internal setup has been successfully completed.
+(Advanced) Accessor for the raw subtate API.
+Registers a new account with the provided parameters.
Optional
params: RegistrationParamsThe registration parameters.
A promise that resolves to the verifying key for the new account when the registration is complete.
If the address is already registered or if there's a problem during registration.
-Signs a signature request hash. This method involves various steps including validator selection, transaction request formatting, and submission of these requests to validators for signing. It returns the signature from the first validator after validation.
The signature operation parameters.
A promise that resolves to the signed hash as a Uint8Array.
If there's an error in the signing routine.
-
The main class to handle all interactions within the Entropy SDK.
-