1.0.10 • Published 3 years ago

react-wallet-generator v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years 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

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago