Yacooba SDK
Installation
npm install @yacooba/sdk
Usage
Yacooba
Import Yacooba and instantiate it
import { Yacooba } from '@yacooba/sdk'
const yacooba = Yacooba(env, provider)
Get each typed contract
const forwarder = yacooba.forwarder
const factory = yacooba.factory
const registry = yacooba.registry
const marketplace = yacooba.marketplace
const yac = yacooba.yac
Utils
Import utils
import { utils } from '@yacooba/sdk'
Example: Sign typed data
const sig = await utils.signTypedData(wallet.privateKey, typedData)
Development
Commit messages: follow conventional commit format (see commitlint)
License
Released under MIT