This project was bootstrapped with Create React App.
Example Usage:
import * as React from "react";
import EthLogin from "ethentication";
function App() {
const [currAccount, setCurrAcount] = React.useState("");
const [error, setError] = React.useState("");
return (
<EthLogin
message="Login with Eth"
setAccount={setCurrAcount}
setError={setError}
/>
);
}
export default App;
Run the following commands:
yarn install
yarn start
This open source project is a work in progress. Any questions contact Rahat on twitter: https://twitter.com/Rahatcodes