Socket
Book a DemoInstallSign in
Socket

@ayanworks/credo-polygon-w3c-module

Package Overview
Dependencies
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ayanworks/credo-polygon-w3c-module

- W3C did:polygon method registry for [credo-ts](https://github.com/openwallet-foundation/credo-ts).

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

Credo did:polygon W3C Module

  • W3C did:polygon method registry for credo-ts.

Usage

import { PolygonDidResolver, PolygonDidRegistrar, PolygonModule } from 'afj-polygon-w3c-module'

const agent = new Agent({
  config: {
    /* agent config */
  },
  dependencies,
  modules: {
    /* ... */
    dids: new DidsModule({
      resolvers: [ /* ... */, new PolygonDidResolver()],
      registrars: [ /* ... */, new PolygonDidRegistrar()],
    }),
    /* ... */
    polygon: new PolygonModule({
      rpcUrl: 'rpcUrl' // polygon rpc url,
      didContractAddress: 'didContractAddress' // polygon did contract address,
      fileServerToken: 'fileServerToken' // polygon file server token to store schema json,
      schemaManagerContractAddress: 'schemaManagerContractAddress' // polygon schema manager contract address,
      serverUrl: 'serverUrl' // polygon file server url,
    }),
})

FAQs

Package last updated on 04 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.