Get Started
Prerequisites
Before you begin, ensure you have the following installed:
Node.js (version 18 or higher)
npm / yarn / pnpm
Git (for cloning the repository)
Install SDK
install the required npm packages:
import package
In your TypeScript or JavaScript project, import the SDK:
Example: Calculate Minting Fee
This example shows how to use the Satoshi Protocol SDK to calculate the minting fee for a given amount of satUSD using a specific collateral type on the BEVM_MAINNET
. It utilizes several functions and configurations provided by the SDK to accomplish this.
Code
Last updated