Skip to content

future-tense/stellar-nft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example usage

import {NFT, networks} from 'stellar-nft';

(async function () {

    const nft = new NFT({
        horizon: 'https://horizon-testnet.stellar.org',
        network: networks.testnet
    });

    const token = nft.token('GAB35A2WLFSK64P6EWSGVFXZYU6E5K2INGTTLMDEDSIPYOH7NZVV6GIG');
    const owner = await token.getOwner();
    console.log(owner);

    const metadata = await token.getMetadata();
    console.log(metadata);
})();

Copyright © 2018-2019 Future Tense, LLC

About

Non-fungible tokens on the Stellar network

Resources

Stars

Watchers

Forks

Packages

No packages published