@props-labs/fuels
v0.2.7
Published
Props Minting SDK for managing NFTs on the Fuel network
Downloads
109
Readme
Props SDK
The Props SDK allows anyone to integrate minting NFTs on Fuel with just a few lines of code with a powerful built-in incentive protocol that rewards builders, creators and collectors.
Documentation
For detailed documentation and API reference, please visit our comprehensive documentation site:
Getting Started
Installation
To install the SDK, run:
npm install @props-labs/fuels
pnpm install @props-labs/fuels
yarn add @props-labs/fuels
Usage
To use the SDK, you must first create an instance of the PropsSDK
class:
import { PropsSDK } from '@props/fuels';
import { Provider, Wallet } from 'fuels';
const provider = new Provider('https://testnet.fuel.network');
const wallet = Wallet.fromPrivateKey('your-private-key');
const propsClient = new PropsSDK({
network: 'testnet',
});
async function createEdition() {
const edition: Edition = await propsClient.editions.create({
name:"Edition 1",
symbol: "ED1",
metadata: {
name: "Edition 1",
description: "First edition",
image: "image_url",
},
options: {
maxSupply: 100,
owner: wallet,
}
});
console.log(`Created edition with ID: ${editionId}`);
}
createEdition();
TODO
- [x] Merkle-Based Allowlists
- [x] Flexible Mint Dates