SiwxAdapter
Defined in: types.ts:232
Shape of a verifier for one CAIP-2 namespace.
The SIWX packages do not implement or consume this interface: the chain packages export plain functions
(verifyEvmSignature in @tuwaio/siwx-evm, verifyEd25519 in @tuwaio/siwx-solana) that you can wrap into it
to build your own namespace registry.
Properties
namespace
namespace:
SiwxChainNamespace
Defined in: types.ts:236
CAIP-2 namespace handled by the adapter.
Methods
verify()
verify(
payload):Promise<SiwxVerifyResult>
Defined in: types.ts:243
Verifies a signed CAIP-122 message.
Parameters
payload
The message and signature to verify.
Returns
Promise<SiwxVerifyResult>
A promise resolving to the verification result.
Last updated on