Generates a new AttesterChain from a keyring pair and pre-generated public and private key pair.
The public key for the Attester.
The private key for the Attester.
The keyring pair for the Attester.
An AttesterChain instance including a chain address and a public and private key pair.
The address of the Attester's keyring pair .
The keypair for the blockchain identity.
Builds a transaction that updates the stored accumulator for the attester that will sign this transaction. The transaction must be signed and send, the accumulator will won't be updated otherwise.
The new Accumulator which will be put onto the accumulatorList chain storage.
An object which can be used to submit a transaction in Blockchain.signAndSend.
Creates a new accumulator.
A new Accumulator.
Creates an Attestation for the claim inside the AttestationRequest.
The Attestation object which should be sent to the Claimer and a Witness which can be used to revoke the attestation.
Revokes an Attestation which corresponds to the provided Witness. The return accumulator is not updated on chain. Call buildUpdateAccumulatorTX to notify verifiers about the revoked credentials.
An updated version of the Accumulator.
Initiates the attestation session.
A session and a message object. The message should be sent over to the Claimer.
Generates a new AttesterChain from a mnemonic seed.
The public key for the Attester.
The private key for the Attester.
The string of words representing a seed.
The signature scheme used in the keyring pair, either 'sr25519' or 'ed25519'.
An AttesterChain instance including a chain address and a public and private key pair.
Generates a new AttesterChain from a mnemonic seed.
The public key for the Attester.
The private key for the Attester.
The URI to add the keyring pair from, e.g. '//Alice' or '//Bob' for default devnet.
The signature scheme used in the keyring pair, either 'sr25519' or 'ed25519'.
An AttesterChain instance including a chain address and a public and private key pair.
Generates a new key pair and returns a new AttesterChain.
An optional object containing options for the key generation.
A AttesterChain instance including a chain address and a public and private key pair.
Generates a new key pair.
A newly generated key pair.
Generates a string of words.
A mnemonic seed consisting of 12 words.
Generated using TypeDoc
The AttesterChain extends an Attester's creation process and functionality to on-chain compatibility.