Skip to content

Instantly share code, notes, and snippets.

View Deveshb15's full-sized avatar
🎯
Focusing

Devesh RB Deveshb15

🎯
Focusing
View GitHub Profile
@Deveshb15
Deveshb15 / DynamicSVG.sol
Created October 22, 2022 11:47
Contract for NFT collection with on-chain metadata
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
// import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
contract DynamicSVG is ERC721URIStorage {
@Deveshb15
Deveshb15 / Contract.txt
Last active October 11, 2021 08:44
NFT Contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "hardhat/console.sol";
import { Base64 } from "./libraries/Base64.sol";