UNPKG

@metamask/snaps-simulation

Version:

A simulation framework for MetaMask Snaps, enabling headless testing of Snaps in a controlled environment

26 lines 799 B
/** * Get the implementation of the `getEntropySources` hook. * * @returns The implementation of the `getEntropySources` hook. Right now, it * only returns two hard coded entropy source. In the future, it could return a * configurable list of entropy sources. */ export function getGetEntropySourcesImplementation() { return () => { return [ { id: 'default', name: 'Default Secret Recovery Phrase', type: 'mnemonic', primary: true, }, { id: 'alternative', name: 'Alternative Secret Recovery Phrase', type: 'mnemonic', primary: false, }, ]; }; } //# sourceMappingURL=get-entropy-sources.mjs.map