@vechain/connex-wallet-buddy
Version:
to bridge connex sign request to wallet
10 lines (9 loc) • 500 B
TypeScript
import '../../framework/dist/driver-interface';
/**
* create an instance of wallet buddy to help send signing requests to wallet app
* @param genesisId the genesis id of requests binding to
* @param nonce random bytes generator
* @param blake2b256 blake2b256 hash function
* @param tosUrl the optional customized tos url
*/
export declare function create(genesisId: string, nonce: () => string, blake2b256: (val: string) => string, tosUrl?: string): Pick<Connex.Driver, 'signTx' | 'signCert'>;