1.1.1 • Published 3 years ago

react-native-action-wallet-eth v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

React-native-action-wallet-eth

Features

Installation

Clone the repo

git clone https://github.com/ongdetui/react-native-action-wallet-eth.git

Install NPM packages

npm i react-native-action-wallet-eth

If use yarn

yarn add react-native-action-wallet-eth

Create Wallet

 import {createWallet} from 'react-native-action-wallet-eth'

 // Create new wallet
 await createWallet('rinkeby');

 // Import privateKey
 await createWallet('rinkeby', {privateKey: 'privateKey your'});

 // Re-store wallet
 await createWallet('rinkeby', {mnemonic: 'mnemonic your'});

getHistory

  import {getHistory} from 'react-native-action-wallet-eth'

  function getHistory(
   network: string,
   address: string,
   option?: {
      startblock?: number;
      endblock?: number;
      sort?: string;
   }
  ): Promise<ResponseHistory>;

getBalance

  import {getBalance} from 'react-native-action-wallet-eth'

  function getBalance(
   network: string,
   address: string
  ): Promise<ResponseBalance>;
1.1.1

3 years ago

1.1.0

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