All Projects → mikker → svgnft

mikker / svgnft

Licence: other
Making it slightly easier to create fully on-chain SVG-based NFTs.

Programming Languages

solidity
1140 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to svgnft

nft-app
How to create your own NFT and mint NFT token
Stars: ✭ 145 (+229.55%)
Mutual labels:  nft
nft-tutorial
Tezos FA2 NFT CLI Tool And Tutorial
Stars: ✭ 81 (+84.09%)
Mutual labels:  nft
fetch-nft
🖼🎑🌠 A utility to fetch and easily display Ethereum & Solana NFTs in a common format given any wallet
Stars: ✭ 83 (+88.64%)
Mutual labels:  nft
ape
The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
Stars: ✭ 339 (+670.45%)
Mutual labels:  nft
Awesome NFTs
A curated collection about NFTs - by bt3gl
Stars: ✭ 42 (-4.55%)
Mutual labels:  nft
opensea-scraper
Scrapes nft floor prices and additional information from opensea. Used for https://nftfloorprice.info
Stars: ✭ 129 (+193.18%)
Mutual labels:  nft
hicetnunc-radio
Radio player for audio tracks in a tezos wallet.
Stars: ✭ 23 (-47.73%)
Mutual labels:  nft
react-nft-gallery
🖼️ React component to display your NFTs as a gallery
Stars: ✭ 50 (+13.64%)
Mutual labels:  nft
opensea automatic uploader
(Bypass reCAPTCHAs) A Selenium Python bot to automatically and bulky upload and list your NFTs on OpenSea (all metadata integrated - Ethereum and Polygon supported); reCAPTCHA solver & bypasser included.
Stars: ✭ 205 (+365.91%)
Mutual labels:  nft
ethereum-dex
Decentralized exchange implementation for the 0xcert protocol on the Ethereum blockchain.
Stars: ✭ 18 (-59.09%)
Mutual labels:  nft
nft-gallery
NFT Explorer 🗺 🧭 running on Kusama and Polkadot
Stars: ✭ 281 (+538.64%)
Mutual labels:  nft
go-ubiq
Ubiq fork of Geth
Stars: ✭ 82 (+86.36%)
Mutual labels:  nft
Nix
Nix - NFT Decentralised Exchange Smart Contracts
Stars: ✭ 40 (-9.09%)
Mutual labels:  nft
niftygate
Drop-in Access Control via NFT Ownership
Stars: ✭ 61 (+38.64%)
Mutual labels:  nft
jsartoolkit5
Javascript ARToolKit v5.x
Stars: ✭ 37 (-15.91%)
Mutual labels:  nft
nft-marketplace-flutter
No description or website provided.
Stars: ✭ 23 (-47.73%)
Mutual labels:  nft
samila
Generative Art Generator
Stars: ✭ 750 (+1604.55%)
Mutual labels:  nft
incomplete-guide-to-imx
An attempt to TLDR; Layer 2 development with IMX.
Stars: ✭ 29 (-34.09%)
Mutual labels:  nft
CryptoPunks
Subgraph for the Cryptopunks marketplace
Stars: ✭ 37 (-15.91%)
Mutual labels:  nft
use-nft
🍮 React hook to fetch metadata from any NFT.
Stars: ✭ 419 (+852.27%)
Mutual labels:  nft

svgnft

A helper library for generating fully on-chain NFTs (ERC721) on Ethereum.

Being on-chain is fun!

Example

See example/. Override tokenUri with something like:

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    string memory name = string(abi.encodePacked("MyToken #", tokenId.toString()));
    string memory description = "An example SVG-based, fully on-chain NFT";
    string memory svg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx={500} cy={500} r={400} fill="papayawhip" /></svg>';

    return SVG721.metadata(name, description, svg);
  }

That's it!

Install

Using hardhat.

npm install --save-dev svgnft
# or
yarn add --dev svgnft

In your contract

import "svgnft/contracts/SVG721.sol";

License

MIT

Base64.sol by Brecht Devos.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].