Skip to main content

28 docs tagged with "Tutorial"

View All Tags

Brownie

Learn how to deploy an ERC-20 Token using Brownie.

CRC1155 NFT Tutorial

This tutorial will guide you through the steps to create, write, and deploy an CRC1155 NFT smart contract on Conflux CoreSpace using Hardhat. Additionally, it will show you how to view your contract on ConfluxScan. You can find a practical example in the Conflux-NFT-CRC1155 repository.

CRC721 NFT Tutorial

This tutorial will guide you through the steps to create, write, and deploy an CRC721 NFT smart contract on Conflux CoreSpace using Hardhat. Additionally, it will show you how to view your contract on ConfluxScan.

ethers.js

This page is meant to guide you through the basics on how to use ethers.js when developing on Conflux eSpace.

How to use ECDSA Signature

ECDSA (Elliptic Curve Digital Signature Algorithm) is a widely used digital signature algorithm in blockchain and cryptocurrency. It has the following characteristics:

Merkle Tree Whitelist

Using a Merkle Tree whitelist provides a cost-efficient way to distribute NFTs to a predefined list of addresses. It ensures that only whitelisted addresses can mint the NFTs, enhancing security and efficiency. Writing a whitelist of thousands of addresses directly within a smart contract would result in significant gas costs, and additionally, due to the maximum transaction gas limit restriction, it might be impractical to update such a large whitelist in a single transaction. However, since in the Merkle Tree verification process, leaf nodes and proofs can be stored off-chain while only the root value needs to be stored on-chain, this method significantly saves on gas costs and enables whitelist setup with only one transaction.

Next.js

Learn how to use Web3Modal in a Next.js project

Node Setup

Graph Node is the component which indexes subgraphs, and makes the resulting data available to query via a GraphQL API. As such it is central to the indexer stack, and correct operation of Graph Node is crucial to running a successful indexer.

React

Learn how to use Web3Modal in a React project

React

Learn how to use Web3Modal in a React project

Retrieve Price

Learn how to Use Pyth Oracle on Conflux eSpace to Retrieve CFX Price

Vue

The @web3modal/wagmi package used below is deprecated on npm — Web3Modal has been rebranded and superseded by Reown AppKit (@reown/appkit), and cloud.walletconnect.com now redirects to cloud.reown.com. The steps here still describe the older Web3Modal API.

web3.js

This page is meant to guide you through the basics on how to use web3.js when developing on Conflux eSpace.

web3.py

This page is meant to guide you through the basics on how to use web3.py when developing on Conflux eSpace.

x402 Payments

Monetize APIs on Conflux eSpace with x402 — HTTP-native stablecoin payments for humans and AI agents