MCPcopy
hub / github.com/BlueWallet/BlueWallet / getRandomLabelFromSecret

Function getRandomLabelFromSecret

components/DevMenu.tsx:9–14  ·  view source on GitHub ↗
(secret: string)

Source from the content-addressed store, hash-verified

7import { TWallet } from '../class/wallets/types';
8
9const getRandomLabelFromSecret = (secret: string): string => {
10 const words = secret.split(' ');
11 const firstWord = words[0];
12 const lastWord = words[words.length - 1];
13 return `[Developer] ${firstWord} ${lastWord}`;
14};
15
16const showAlertWithWalletOptions = (
17 wallets: TWallet[],

Callers 1

DevMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected