Overview

A library of calculation formulas for Jasper Vault Option trading, designed to be purely functional and free of context dependencies. For seamless integration, simply call the appropriate functions directly.

@jaspervault/contracts-v2

Install

npm install @jaspervault/contracts-v2

Usage Example

Get wallet paymaster balance:

import { getWalletPaymasterBalance } from "jaspervault/contracts-v2";

// Get the wallet paymaster balance
const getWalletPaymasterBalance = () => {
  const balance = getWalletPaymasterBalance(address);
  console.log(balance); //
};

Last updated