Skip to content

Deploy NFTs with OnChain Image Binary & Metadata on the TON Blockchain using either FunC or Tact.

Notifications You must be signed in to change notification settings

ryanamaral/ton-nft-onchain

Repository files navigation

TON NFT OnChain (FunC/Tact)

Deploy NFTs with OnChain Image Binary & Metadata on the TON Blockchain using either FunC or Tact contracts available in this repository. Storing both the image and metadata directly on-chain ensures enhanced decentralization, security, and immutability.

The repository includes contracts based on FunC and Tact, two of TON Blockchain's smart contract programming languages.

The code is inspired by the article "NFTs with On-chain Metadata on TON: Tutorial" by Vladislav Lenskii and is built upon off-chain contracts from the following sources:

This project utilizes Blueprint, a development environment for TON blockchain smart contracts.

Project structure

  • contracts - source code of all the smart contracts of the project and their dependencies.
  • wrappers - wrapper classes (implementing Contract from ton-core) for the contracts, including any [de]serialization primitives and compilation functions.
  • tests - tests for the contracts.
  • scripts - scripts used by the project, mainly the deployment scripts.

How to use

Install

npm install

Build

npx blueprint build

Test

npx blueprint test

Deploy

npx blueprint run

License

MIT License

About

Deploy NFTs with OnChain Image Binary & Metadata on the TON Blockchain using either FunC or Tact.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published