@buildwithsygma/sygmaprotocol-wallet-manager
v0.1.0
Published
Sygma Protocol Widget
Downloads
3
Readme
SygmaProtocol Wallet Manager Package
Install
yarn install @buildwithsygma/sygmaprotocol-wallet-manager
Usage
On lit component
# Passing a web3Provider and an apiPromise
<wallet-manager-context
.web3Provider=${web3Provider}
.apiPromise=${apiPromise}>
<your-component></your-component>
</wallet-manager-context>
# Passing a wssConnectionUrl
<wallet-manager-context
.wssConnectionUrl=${wssConnectionUrl}>
<your-component></your-component>
</wallet-manager-context>
Develop
# Run this on the root of the monorepo
yarn install
# cd to the package
cd ./packages/wallet-manager
# start watch mode
yarn dev
Build the package
yarn lint
# if needed lint fix
yarn lint:fix
yarn build