0.2.7 • Published 8 months ago

@props-labs/fuels v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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:

Props SDK Documentation

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

8 months ago

0.2.6-next.0

8 months ago

0.2.3-next.2

8 months ago

0.2.4-next.0

8 months ago

0.2.6

8 months ago

0.2.5

8 months ago

0.2.4

8 months ago

0.2.3-next.1

8 months ago

0.2.1

8 months ago

0.2.2

8 months ago

0.2.0-next.1

9 months ago

0.2.0-next.0

9 months ago

0.1.9-next.4

9 months ago

0.1.9-next.5

9 months ago

0.1.9-next.2

10 months ago

0.1.9-next.0

10 months ago

0.1.9-next.1

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago