stellar_asset_lists 1.0.0 copy "stellar_asset_lists: ^1.0.0" to clipboard
stellar_asset_lists: ^1.0.0 copied to clipboard

The Sellar Asset Lists package is designed to facilitate the integration of curated Stellar asset lists into Stellar applications and services. This package adheres to the Stellar Ecosystem Proposal ( [...]

example/stellar_asset_lists_example.dart

import 'package:stellar_asset_lists/stellar_asset_lists.dart';

void main() {
  final resolver = StellarAssetListResolver();

  resolver.fetchAvailableAssetLists().then((assetLists) {
    for (final assetList in assetLists) {
      print(assetList.url);
    }
  });

  resolver.fetchAssetList('https://lobstr.co/api/v1/sep/assets/curated.json').then((assetList) {
    for (final asset in assetList.assets) {
      print(asset.icon);
    }
  });
}
3
likes
0
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

The Sellar Asset Lists package is designed to facilitate the integration of curated Stellar asset lists into Stellar applications and services. This package adheres to the Stellar Ecosystem Proposal (SEP-42) standard, providing a standardized mechanism for defining, validating, and sharing lists of Stellar assets. This helps to enhance user experiences and trust by ensuring consistency and ease of integration across the Stellar network.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on stellar_asset_lists