1.0.10 • Published 1 year ago

react-wallet-generator v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-wallet-generator

library to generate wallets in evm blockchains Simply usage:

import React, { useState } from 'react';
import { generateRandomWallet } from 'react-wallet-generator';


function App() {
  const [wallet, setWallet] = useState(null);

  // Generate a new wallet at the click of a button
  const handleClick = () => {
    const newWallet = generateRandomWallet();
    setWallet(newWallet);
  }

  return (
    <div>
      <button onClick={handleClick}>Genete wallet</button>
      {wallet && (
        <div>
          <p>Address: {wallet.address}</p>
          <p>Private Key: {wallet.privateKey}</p>
        </div>
      )}
    </div>
  );
}


export default App;
1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago