0.2.7 • Published 11 months ago
@props-labs/fuels v0.2.7
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
- Merkle-Based Allowlists
- Flexible Mint Dates
0.2.7
11 months ago
0.2.6-next.0
11 months ago
0.2.3-next.2
11 months ago
0.2.4-next.0
11 months ago
0.2.6
11 months ago
0.2.5
11 months ago
0.2.4
11 months ago
0.2.3-next.1
11 months ago
0.2.1
11 months ago
0.2.2
11 months ago
0.2.0-next.1
11 months ago
0.2.0-next.0
11 months ago
0.1.9-next.4
11 months ago
0.1.9-next.5
11 months ago
0.1.9-next.2
12 months ago
0.1.9-next.0
12 months ago
0.1.9-next.1
12 months ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago