/Lines

A demonstraion for on-chain NFTs

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

Lines

This repository is meant for demonstration of On-Chain NFTs.

Project Setup

This project is bootstrapped with Hardhat, Openzeppelin, and Base64.

  1. git clone https://github.com/BanklessDAO/bankless-checkout.git
  2. npm install || yarn install
  3. Set environment variables

Generations of NFTs

  1. Centralized Storage
  2. Decentralized Storage
  3. Network Storage (On-Chain)

Base64 Encoding

Base64 is a group of binary-to-text encoding schemes that represent binary data (more specifically, a sequence of 8-bit bytes) in sequences of 24 bits that can be represented by four 6-bit Base64 digits.

Common to all binary-to-text encoding schemes, Base64 is designed to carry data stored in binary formats across channels that only reliably support text content. Base64 is particularly prevalent on the World Wide Web[1] where one of its uses is the ability to embed image files or other binary assets inside textual assets such as HTML and CSS files.[2]

A short and sweet explanation: https://stackoverflow.com/questions/201479/what-is-base-64-encoding-used-for