Skip to content

A wrapper API for the Pulsar SDK in Dart language, works with Flutter to develop cross-platform asset management applications.

Notifications You must be signed in to change notification settings

yanglaolee/pulsar_sdk_dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pulsar_sdk_dart

A wrapper API for the Pulsar SDK in Dart language.

The original idea of ​​the project was to combine it with Flutter to develop cross-platform asset management applications.

For details, please refer to the official documentation: here

If you don’t know what Pulsar does yet, check out their official website: here

Usage

First add this package to your Flutter/Dart project:

flutter/dart pub add pulsar_sdk_dart

Then, you can use it in your code, like:

import 'package:pulsar_sdk_dart/pulsar_sdk_dart.dart';

void main async {
    final apiKey = 'YOUR API KEY HERE';

    final sdk = PulsarSDK(apiKey: apiKey);
  
    // get the frist ten Badkids NFT
    final paginatedNFTItems = await sdk.nfts.listCollectionNFTs(
        collectionId:'STARGAZE__stars19jq6mj84cnt9p7sagjxqf8hxtczwc8wlpuwe4sh62w45aheseues57n420',
        limit: 10,
      );

    print(paginatedNFTItems);
}

Additional information

This SDK is basically rewritten based on the Python version.

About

A wrapper API for the Pulsar SDK in Dart language, works with Flutter to develop cross-platform asset management applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages