icidasset / odd-web3storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web3Storage plugin for ts-odd.

Usage

import * as odd from "@oddjs/odd"
import * as web3storage from "odd-web3storage"

const config = { namespace: "example", debug: true }
const components = await web3storage.components(config)
const program = await odd.program(config, components)

If you'd rather choose individual components instead:

import * as account from "odd-web3storage/components/account"
import * as clerk from "odd-web3storage/components/clerk"
import * as depot from "odd-web3storage/components/depot"

const components = {
  clerk: clerk.implementation()
}

About


Languages

Language:TypeScript 100.0%