Skip to content
nhancv's blog

nhancv's blog

i am who am i

  • Home
  • Resume
  • GitHub
  • Upwork
  • DApp
  • Contact

Tag: smartcontract

Ensuring Contract Callers Implement a Custom Interface in Solidity Using ERC165 without @openzeppelin

October 27, 2024October 27, 2024nhancvLeave a Comment on Ensuring Contract Callers Implement a Custom Interface in Solidity Using ERC165 without @openzeppelin

Context YourContract invokes a function in TargetContract. Only calls from the YourContract interface should be permitted. Impl

Read More

Solidity Smart Contract Convention X

March 14, 2022March 14, 2022nhancvLeave a Comment on Solidity Smart Contract Convention X

Just a convention to make a good-looking contract. :3  STRUCTURE FORMAT & LINT Format standard Lint Verify before commit COMMIT RULEs DO use Semantic Commit Messages: https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716 DO use Git Branching…

Read More

Solidity get interface id and ERC165

September 15, 2021October 29, 2021nhancvLeave a Comment on Solidity get interface id and ERC165

To get interface id, use Remember interfaceId = xor of all selectors (methods) name and param type, don’t care to return type For example: Return zero with empty interface Return…

Read More

About Smart Contract

August 22, 2021September 8, 2021nhancvLeave a Comment on About Smart Contract

If you are a smart contract developer, you will need to consider something about the contract:  Clean: No unused code, nonsense comment,  Well document: Comment to all functions Formatted: Reformat,…

Read More

About dividend token

August 22, 2021August 22, 2021nhancvLeave a Comment on About dividend token

I have some exp with this kind of topic “Dividend Token”. Just share some thoughts What is “Dividend Token”?  You should search for more detail. =]] But you can go…

Read More

Smart contract pagination for list

June 28, 2021June 28, 2021nhancv1 Comment on Smart contract pagination for list

A contract has an infinite internal storage There are 2 limits to practicality: gas costs and the block gas limit. Example Create 5k5 players, read one time https://testnet.bscscan.com/address/0x721ff9e58831b698efd26b9ac744cf8f0aaecbc2#readContract Max Gas Limit is 28,500,000 at…

Read More

Deploy Smart Contract with Truffle

November 4, 2019November 4, 2019nhancvLeave a Comment on Deploy Smart Contract with Truffle

Config local network Install Ganache Start Ganache and create a new project by point to the truffle-config.js file Config Real network Register a new account on infura.io Create a new…

Read More

Subscribe for news

Check your inbox or spam folder to confirm your subscription.

PayPal PayPal.me: @nhancv

Bitcoin bc1qehlfcpdjjqzetaqld33cyw7gdgsnrrdnaxd5nn

Dogecoin DQ5bvoNfbXDUcqNQCHRwdPejRjsw6Yfi2n

Ethereum 0x588d48bA59E3d19f6E5145764059D3A606E67D36

Litecoin ltc1qud2aaz49psxk20yu0zf4duml3r793mk6gvuxvk

XRP rfhC9qf2KzhmJLu1jezDusuD9zJn5L71Lq

SOL DpNZ2CSzDEcX8pUg1Doi2grZzHhL5BHwukdUSk7z24Nm

Buy Me a Coffee

Recent Posts

  • Setup CometBFT PoS Ethereum Private Chain with Evmos on Docker
  • Setup IBFT 2.0 PoA Ethereum Private Chain with Besu on AWS Cloud via Terraform
  • libp2p Error: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No “exports” main defined in …
  • Ensuring Contract Callers Implement a Custom Interface in Solidity Using ERC165 without @openzeppelin
  • Proof of Authority (PoA) and Proof of Stake (PoS)

Recent Comments

  • DbO on BITCOIN Convert private key to WIF
  • nhancv on Detect wifi format with regex in Kotlin
  • Manish Gautam on Detect wifi format with regex in Kotlin
  • John on Create TRC20 Token on TRON network with nodejs
  • Lakhan on Flutter printer and cash drawer

Archives

  • October 2024
  • January 2024
  • November 2023
  • July 2023
  • February 2023
  • October 2022
  • April 2022
  • March 2022
  • January 2022
  • December 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • January 2020
  • December 2019
  • November 2019

Categories

  • Android
  • AWS
  • Blockchain
  • Flutter
  • iOS
  • Mobile
  • Tech
  • Trading
  • Web
  • Wordpress

Tags

android (12) aws (6) backup (1) bitcoin (4) blockchain (17) dart (1) dialog (1) env (2) firestore (1) flutter (43) flutter newbie (5) gesturedetector (1) gradle (1) gzip (1) heroku (1) hpz420 (1) javascript (1) keyboard (3) kotlin (2) macbook m1 (2) macos (2) md5 (1) mongoDB (2) nginx (5) nodejs (5) nscan (1) pancakeswap (2) permission (1) poa (2) regex (2) rounded textfield (1) screen touch test (1) sha256 (1) smartcontract (7) socket.io (1) solidity (2) splash (1) telegram bot (1) token (2) truffle (1) ubuntu (3) wifi qr (1) winston (1) wordpress (3) yuv420 (1)
© 2024 nhancv.com
Facebook Twitter Linkedin Instagram YouTube Pinterest Tumblr Reddit
  • Home
  • Resume
  • GitHub
  • Upwork
  • DApp
  • Contact