Open in app

Sign In

Write

Sign In

Nhan Cao
Nhan Cao

593 Followers

Home

About

Pinned

Solidity Smart Contract Convention X

Just a convention to make a good-looking contract. :3 Feel free to apply it. STRUCTURE - src /active: For working contracts /interfaces: Contains all contract interface type /libraries: Contains all library type…

Solidity

3 min read

Solidity

3 min read


Jul 21

Webpack build babel-loader error parsing some typescript/es lib Module parse failed: Unexpected token

Error detail: ./node_modules/@walletconnect/ethereum-provider/dist/index.es.js 59:10 Module parse failed: Unexpected token (59:10) File was processed with these loaders: * ./node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of these loaders. | rpcMap: M | }, > l = n?.filter(g => !u.includes(g)), |…

Babel

1 min read

Webpack build babel-loader error parsing some typescript/es lib Module parse failed: Unexpected…
Webpack build babel-loader error parsing some typescript/es lib Module parse failed: Unexpected…
Babel

1 min read


Jul 21

nginx redirect domain config

DNS service (Cloudflare): New A record to your server IP SSH to server new virtual domain for redirecting. Note: Change meet.nhancv.com to your domain # Create domain config sudo -s cat << 'EOF' > /etc/nginx/sites-available/meet.nhancv.com server { listen 80; listen [::]:80; server_name meet.nhancv.com…

Nginx

1 min read

Nginx

1 min read


Jul 21

Coinbase Base network vs Arbitrum

About Base Base is a secure, low-cost, builder-friendly Ethereum L2 built to bring the next billion users onchain. It is built on the OP Stack so that it can remain decentralized, permissionless, and open to anyone. https://docs.base.org/ Compare with Arbitrum

Blockchain

1 min read

Coinbase Base network vs Arbitrum
Coinbase Base network vs Arbitrum
Blockchain

1 min read


Oct 19, 2022

Custom Truffle web3 provider to support Infura authentication

Secure Infura project key: — Secure Infura project key Details: https://docs.infura.io/infura/networks/ethereum/how-to/secure-a-projectnhancv.medium.com Install lib: - For Http: yarn add web3-providers-http - For Ws: yarn add web3-providers-ws Example web3 provider configuration: https://web3js.readthedocs.io/en/v1.7.4/web3-eth.html // ==== // Http // ==== const Web3HttpProvider = require('web3-providers-http');

Infura

2 min read

Infura

2 min read


Oct 19, 2022

Secure Infura project key

Details: https://docs.infura.io/infura/networks/ethereum/how-to/secure-a-project Patterns: Frontend/Mobile app: + Requests: 10/sec, 5000/day + Allowlists: Origins, Contract addresses, User agents (optional) + JWT required: Public (short expiration), Signed (long expiration) BE service: + Requests: x0/sec, x000/day + Allowlists: Contract addresses, User agents (optional) + Project secret required: JWT or API secret

Infura

2 min read

Secure Infura project key
Secure Infura project key
Infura

2 min read


Oct 18, 2022

Google Sheets API

1 min read

Google Sheets API
Google Sheets API

1 min read


Apr 19, 2022

How fast to take AWS Certificates?

Nhan Cao Nhan Cao résuménhancv.github.io https://www.credly.com/users/nhancv

Aws Certification

2 min read

How fast to take AWS Certificates?
How fast to take AWS Certificates?
Aws Certification

2 min read


Jan 8, 2022

An AWS Cloud architecture for web hosting — 3 Tiers

Public Terraform source: GitHub - nhancv/terraform.aws.public: Web application with basic 3 tiers version. Deploy to AWS… Web application with basic 3 tiers version. Deploy to AWS using Terraform - GitHub - nhancv/terraform.aws.public: Web…github.com Best practice: https://docs.aws.amazon.com/whitepapers/latest/web-application-hosting-best-practices/an-aws-cloud-architecture-for-web-hosting.html I saw some mistakes of Full-stack developers about web hosting. To deliver better app should check some points:

Web Development

4 min read

An AWS Cloud architecture for web hosting — 3 Tiers
An AWS Cloud architecture for web hosting — 3 Tiers
Web Development

4 min read


Dec 13, 2021

HOW TO CONFIG REDIRECT ROOT/NAKED ROUTE53 DOMAIN HTTP TO WWW HTTPS Using S3 and CloudFront with Route53

STEPs S3 static website hosting bucket same domain name with direct mode Cloudfront using Origin domain of S3 website endpoint (NOT bucket name) + custom domain + custom SSL (via ACM) Route53 -> alias to CloudFront (us-east-1 only) DETAILs S3: - New empty bucket using bucket name must be equal domain name …

Route 53

1 min read

Route 53

1 min read

Nhan Cao

Nhan Cao

593 Followers

nhancv.com

Following
  • Michal Bialas

    Michal Bialas

  • Heroes of Mavia

    Heroes of Mavia

  • Sajith Shaminda

    Sajith Shaminda

  • Duy Tran

    Duy Tran

  • Nguyen Seven

    Nguyen Seven

See all (57)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams