Off Chain Authentication

Authenticating ownership of off chain Token

Offchain tokens can be authenticated with an identifier attestation ID (e.g. a user email). Token Negotiator utilises an additional technology, attestation.id to fully authenticate tokens with this information.

Authenticating ownership of a single token, providing a proof with a limited expiry.

/**
 * @param {Object} unsignedToken token to attest
 */
negotiator.authenticate({
	unsignedToken
});

negotiator.on("proof", () => {
	// the proof will be received here (valid or failed)
});

Authenticating ownership of a list of tokens, providing a list of proofs with limited expiry.

/**
 * @param {object} selected unsigned token(s) to attest
 */
negotiator.authenticate([{
	unsignedToken
}, {
        issuer, // optional
	unsignedToken,
}]);

negotiator.on("proof", () => {
	// list of proofs will be received here (valid or failed)
});

For support and any questions please reach out to us on discord or via sayhi@smarttokenlabs.com

Last updated