Build your web3 project on Ternoa
Accelerate your web3 development with our easy-to-use Ternoa.js SDK, guides, and tutorials
Javascript SDK
Copy
import { createNft, initializeApi, getKeyringFromSeed, WaitUntil, safeDisconnect, NFTCreatedEvent } from "ternoa-js";
const mintNFT = async (): Promise<NFTCreatedEvent> => {
try {
await initializeApi();
const keyring = await getKeyringFromSeed("//TernoaTestAccount");
const { nftId } = await createNft(
"hello world",
0,
undefined,
false,
keyring,
WaitUntil.BlockInclusion
);
console.log("The on-chain NFT id is: " nftId);
} catch (e) {
console.error(e);
}
};
Explore Ternoa Ecosystem
Explore Ternoa's architecture and delve into the innovative possibilities.
Start building on Ternoa
Start using our Ternoa.js SDK designed to make web3 projects development easier and faster.
Launch a node on Ternoa
Review the basic principles on how to run a validator node and how to stake CAPS.
Discover more
Why build on Ternoa?
Ternoa is accessible, fast, scalable, and doesn't require learning a new programming language.
Learn moreNFT Primitives
Discover Ternoa's core building blocks that empower the creation and management of NFTs.
Learn moreUser Guides
Uncover Ternoa's comprehensive resources to manage Ternoa Wallet, Bridge CAPS, understand key concepts, and more.
Learn moreJoin the community
Join our supportive and innovative community, the gateway into the world of Ternoa.