JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 461
  • Score
    100M100P100Q97939F
  • License MIT

Router utilities for Doppler protocol interactions

Package Exports

  • doppler-router
  • doppler-router/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (doppler-router) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Doppler Router Utilities

Router implementation and permit signing utilities for Doppler protocol interactions.

Installation

npm install doppler-router

Usage

import { CommandBuilder, getPermitSignature } from "doppler-router";

// Example permit signing
const permit = {
  details: {
    token: "0x...",
    amount: 100n,
    expiration: 3600n,
    nonce: 0n,
  },
  spender: "0x...",
  sigDeadline: Date.now() + 3600,
};

const signature = await getPermitSignature(
  permit,
  chainId,
  permit2Address,
  publicClient,
  walletClient
);

This project was created using bun init in bun v1.1.36. Bun is a fast all-in-one JavaScript runtime.