Conflux x402 Payment Protocol

Implement standard and gasless EIP-3009 payments on Conflux eSpace.

1|1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/jhchong0405/x402_marketplace --skill conflux-x402-payment-protocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Conflux x402 Payment Protocol
Source: https://github.com/jhchong0405/x402_marketplace/tree/main/skills/conflux_x402
Command: npx skills add https://github.com/jhchong0405/x402_marketplace --skill conflux-x402-payment-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @x402/core, @x402/evm, @x402/express, ethers, axios, cors, dotenv, express, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables developers to implement secure and efficient payment flows on the Conflux eSpace network, including advanced gasless transactions.

Core Features & Use Cases

  • Standard Payments: Implement direct native token payments.
  • Gasless Payments (EIP-3009): Utilize a relayer to submit transactions on behalf of users, abstracting gas fees.
  • Use Case: A decentralized application can use this Skill to allow users to pay for premium content or services without needing to hold CFX for gas fees, enhancing user experience.

Quick Start

Implement a gasless payment flow by configuring server and client private keys in the .env file and running the server.js and client.js scripts.

Frequently Asked Questions about Conflux x402 Payment Protocol

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement gasless payments on Conflux eSpace?

You can implement gasless payments on Conflux eSpace by using a relayer to submit transactions on behalf of users, abstracting gas fees via the EIP-3009 authorization signing standard.

What is EIP-3009 and how does it work for token transfers?

EIP-3009 is a standard for gasless token transfers that enables secure authorization signing, allowing a relayer to submit transactions for users without requiring them to hold native tokens for gas fees.

Can I use Express and ethers.js to build a Conflux payment protocol?

Yes, you can build a Conflux payment protocol using Express and ethers.js, as this Skill utilizes dependencies like @x402/express and ethers to facilitate secure token transfers and server-client interactions.

How do I set up standard and gasless payment flows for a decentralized application?

Configure server and client private keys in your .env file, then run the server.js and client.js scripts to establish standard native token payments and gasless EIP-3009 payment flows for your application.

Why does my Conflux eSpace payment transaction require users to hold CFX?

Standard direct native token payments require users to hold CFX for gas fees, but you can eliminate this requirement by implementing the gasless EIP-3009 payment flow using a relayer to abstract transaction costs.