Installation
Installation
Creating a Client Instance
new SignProtocolClient(spMode, options);Parameters
Name
Type
Description
Example
const { privateKeyToAccount } = require("viem/accounts");
const client = new SignProtocolClient(SpMode.OnChain, {
chain: EvmChains.baseSepolia,
account: privateKeyToAccount(privateKey),
apiKey: 'xxx', // Get a key from https://developer.sign.global/
});Last updated
Was this helpful?
