Council

Hedera Technical Blogs

How to Make Sure Your Hedera NFT Metadata Is Correct

How to Make Sure Your Hedera NFT Metadata Is Correct

Jan 09, 2023Michiel Mulders

Metadata determines the health of your NFT. How to structure your metadata correctly to make it easier for NFT tooling to scrape and interpret your NFT.

Set up foundry thumbnail

How to Set Up Foundry to Test Smart Contracts on Hedera

Jan 04, 2023Abi Castro

The ability to write tests for Smart Contracts using solidity allows for more efficient testing leading to catching more bugs early on and providing security to your users. Learn how to set up Foundry on your Hedera project to start testing now!

How to Generate a Random Number on Hedera

How to Generate a Random Number on Hedera

Dec 05, 2022Ed Marquez

Pseudorandom numbers are used in applications like lotteries, gaming, and even random selection in NFT giveaways. In this tutorial, you will learn how to generate random numbers on Hedera using the JavaScript SDK and Solidity.

NFT Royalty Fees

NFT Royalty Fees: Everything You Need To Know (Edge-cases Included)

Nov 14, 2022Michiel Mulders

NFT royalty fees allow you to charge a fractional fee when transferring NFTs between users or set a fallback fixed fee. But what about NFT royalty fee edge cases? This blog post looks at questions such as what happens when a user is not associated with the fallback fee and no fungible value is exchanged, or the user doesn't have any fallback fee balance.

Thumb

How to Exempt Hedera Accounts from Custom Token Fees

Oct 28, 2022Francesco Coacci

The implementation of HIP-573 in mainnet release v0.31 (November 10th, 2022) enables token creators whose tokenomics require custom fees and different collection accounts to exempt collectors from paying custom fees when exchanging token units. Learn now how to create a fungible token with multiple fee collectors and discover what happens when you transfer some tokens from one collector to another.

0 Cover image

How to Pass Zero Token Values to Hedera Contracts

Oct 28, 2022Ed Marquez

In use cases like DeFi, contracts often need to mint, burn, or transfer 0 units of a token due to integer rounding. The implementation of HIP-564 in release 0.31 of Hedera Services enables smart contract developers to specify a zero value for contract functions performing token operations. In this article, you will learn how to use this capability on Hedera.

How to auto create tutorial

How to Auto-Create Hedera Accounts with HBAR and Token Transfers

Oct 26, 2022Abi Castro

In this tutorial learn how to auto-create Hedera accounts by sending HBAR and tokens to an alias.

0 Cover image

Create Testnet Accounts with ED25519 and ECDSA Keys from the Hedera Portal - Back to the Basics

Oct 14, 2022Ed Marquez

The Hedera Portal is where developers create test accounts that enable building applications in development, risk-free, and cost-free environments (testnet, preview, or local network). The portal is a vital part of the Hedera ecosystem because it is effectively an onramp onto Hedera test networks and a faucet for test HBAR. This article provides an overview of the Hedera Portal and shows how you can start creating testnet accounts that use different types of keys.

0 Cover image

How to Approve Fungible Token and NFT Allowances on Hedera – Part 1: Using the SDK

Oct 10, 2022Ed Marquez

Allowances grant another account the right to transfer HBAR, fungible tokens, and non-fungible tokens (NFTs) from your account. This tutorial series shows you how to approve allowances for fungible tokens and NFTs. Part 1 focuses on approving token allowances using the Hedera JavaScript SDK.