Good news for #blockchaindevelopers and #hedera 🎉
We are glad to announce that we have released a micro-service through npm to simplify #blockchain transactions on #hedera network.
It mainly focuses on creating custom NFTs & fungible tokens at the best GAS cost price.
With minimal code, you can create and manage your own NFT Marketplace and ecosystem which runs with your own custom fungible token exchange.
Simply use our NPM & save development efforts to create separate smart contracts to manage Fungible & Non Fungible tokens.
Getting started:
Install the package using the command npm install hedera-services
Initialise and get the client as follow:
const initClient = async (
operatorId,
operatorPvKey,
maxQueryPayment,
isMainNet = false
) => {
try {
const client = await getClient(
operatorId,
operatorPvKey,
maxQueryPayment,
isMainNet
);
global.client;
global.client = client;
} catch (error) {
throw error;
}
};
create new NFTs
createAndMintToken(
"<token_name>", //string
"<token_symbol>", //string(max 3 characters)
"<nft_owner_account_id>", //string
"<nft_owner_account_private_key>" //string
"<nft_meta_data>" //array of buffered string
);
For more details check out: https://www.npmjs.com/package/hedera-services?activeTab=readme
Leave a Reply