NoPFP Blog
Home
About
🌐
English 繁體中文
NoPFP Blog
  • Token URI of ERC1155

    Mar 8, 2022 · 1 min read · solidity  ·
    Share on:

    Token uri can be fixed. Client(e.g. opensea) will replece {id} with tokenId. Take this code as example. 1// SPDX-License-Identifier: MIT 2pragma solidity ^0.8.4; 34import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; 5import "@openzeppelin/contracts/access/Ownable.sol"; 6import …


    Read More
  • How to add Fantom Testnet

    Feb 16, 2022 · 1 min read · solidity  ·
    Share on:

    Add Fantom Testnet on Metamask Visit Chainlist. https://chainlist.org/ connect your metamask search Fantom Add to Metamask Get some $FTM via faucet paste your wallet addres, then click request. https://faucet.fantom.network/ Modify Truffle Setting Open truffle-config.js file, add a new fantom_test into newwork …


    Read More

NoPFP Lab

NoPFP Lab: Not Only Profile Picture Lab
Read More

Featured Posts

  • Selfdestruct: force another contract to receive your ethers.
  • Beware of using tx.origin to verify user
  • Don't use Blockhash as a source of randomness
  • Token URI of ERC1155
  • How to add Fantom Testnet

Recent Posts

  • Selfdestruct: force another contract to receive your ethers.
  • Beware of using tx.origin to verify user
  • Don't use Blockhash as a source of randomness
  • Token URI of ERC1155
  • How to add Fantom Testnet

Categories

SECURITY 3 FANTOM 2

Tags

SOLIDITY 2 FALLBACK 1 INDEX 1 PHISHING 1 RANDOMNESS 1 RECEIVE 1 SELFDESTRUCT 1
NoPFP Blog

Copyright  NOPFP BLOG. All Rights Reserved