How to use pokemon - 2 common examples

To help you get started, we’ve selected a few pokemon examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ArkEcosystem / core / packages / core-tester-cli / src / commands / send / delegate-registration.ts View on Github external
protected async signTransactions(flags: Record, wallets: Record): Promise {
        const transactions = [];

        for (const [address, wallet] of Object.entries(wallets)) {
            wallets[address].username = pokemon
                .random()
                .toLowerCase()
                .replace(/ /g, "_");

            transactions.push(
                this.signer.makeDelegate({
                    ...flags,
                    ...{
                        username: wallets[address].username,
                        // @ts-ignore
                        passphrase: wallet.passphrase,
                    },
                }),
            );
        }
github BrightID / BrightID / BrightID-rn / src / actions / fakeContact.js View on Github external
export const addConnection = () => (dispatch) => {
  const { publicKey } = nacl.sign.keyPair();
  const timestamp = Date.now();
  const trustScore = Math.random() * 49.5 + 50.5;
  const nameornym = pokemon.random();

  // set public key
  dispatch(setConnectPublicKey(publicKey));

  // set nameornym

  dispatch(setConnectNameornym(nameornym));

  // set avatar

  // dispatch(setConnectAvatar(avatar));

  // set trust score

  dispatch(setConnectTrustScore(trustScore.toFixed(1)));

pokemon

Get Pokémon names

MIT
Latest version published 5 months ago

Package Health Score

70 / 100
Full package analysis

Popular pokemon functions