0.2.0 • Published 5 years ago
@drizzle-utils/get-accounts v0.2.0
@drizzle-utils/get-accounts
A tool for getting the accounts from Web3. This will request MetaMask's permission, if required.
Example usage is located in the test-app
directory, specifically test-app/src/App.js
.
Usage
import getAccounts from "@drizzle-utils/get-accounts";
// pass in your web3 (required)
const accounts = await getAccounts({ web3 });
console.log(accounts); // ["0x..."]
0.2.0
5 years ago
0.1.7-alpha.0
5 years ago
0.1.6-alpha.0
5 years ago
0.1.4-alpha.0
5 years ago
0.1.3-alpha.0
5 years ago
0.1.2-alpha.0
5 years ago