A web3 connector which can make Dapps to work with Keystone Hardware wallet inspired by web3-react
yarn add @keystonehq/keystone-connector
npm install --save @keystonehq/keystone-connector
import KeystoneConnetor from '@keystonehq/keystone-connector'
const newConnector = new KeystoneConnetor({
chainId: 1,
url: 'xxx' // your rpc url
})
you can check this example for detail usage: https://github.com/KeystoneHQ/web3-react/tree/v6/example
-
Clone repo
git clone https://github.com/NoahZinsmeister/web3-react.git
-
Install top-level dependencies
yarn
-
Install sub-dependencies
yarn bootstrap
-
Build and watch for changes
yarn start