0.1.0 • Published 4 months ago

@buildwithsygma/sygmaprotocol-wallet-manager v0.1.0

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
-
Last release
4 months ago

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