Skip to main content

Why Pay Protocol Doesn't Use ERC-4337 for Now?

· 5 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

In the blockchain field, ERC-4337 (Account Abstraction) has been very popular in recent years. It proposes a new account system that allows wallets to move beyond traditional Externally Owned Accounts (EOA) and be completely defined by smart contracts.

It sounds ideal:

  • User operations are submitted through UserOperation (UserOps) instead of regular transactions.
  • Bundlers collect users' UserOps, bundle them into a single transaction, and submit to the blockchain.
  • Account logic (signature methods, multi-factor authentication, limits, recovery mechanisms) is completely controlled by contracts, providing more flexible wallet experiences.

However, after in-depth research, we found: The real-world effectiveness of ERC-4337 in payment business is not as perfect as imagined.

Analysis of Blockchain Wallet Types and Differences

· 4 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

Blockchain wallets are the "keychains" of the blockchain world, determining how you access and manage assets while impacting security and functionality. Wallet differences can be categorized by usage patterns or underlying protocol models. This article provides a comprehensive understanding of both classification methods, including security recommendations and a comparison table of common wallets.

Signer Introduction

· 5 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

This article introduces the working principle, security design, and operational flow of the Pay Protocol Signer, aiming to help merchants understand how to achieve high-security on-chain asset management through an "offline signing + on-chain broadcasting separation" model.

Contract Address Risk Notice

· 2 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

When you make on-chain payments, wallets like TP (TokenPocket) and imToken may display a warning: "The address you entered is a contract address. Please verify before transferring." This warning often causes concern. Below is a detailed explanation.

Security Validation Process

· 9 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

This document outlines a comprehensive security validation process, covering transaction operations, signature verification, payment flow, and the enhancement of service security and stability, with the goal of ensuring the security of transactions and the high availability of the system.

1. What is the Guardian?

The Guardian (also known as a "Guardian") is a security service component deployed in the backend or on an independent server. It is used to perform secondary validation and permission review for on-chain transfer requests or other critical multi-signature operations originating from the merchant system.

Its core mechanism is:

After the merchant system completes the initial signature, the Guardian independently generates a signature using the same parameters and compares it with the original signature. Only when the content matches and the permissions are valid is the on-chain execution allowed.

This mechanism effectively prevents data tampering, forged signatures, and unauthorized operations.


New Merchant Feature - Repair Abnormal Orders

· 3 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

This tutorial will guide you on how to repair orders where users have overpaid or underpaid through the backend management system.


Prerequisites

Before starting to repair orders, please ensure you have the following information:

  1. Order Number: The order number or payment number that needs to be repaired.
  2. Transaction Hash: The transaction hash of the user's payment (can be obtained through a blockchain explorer or payment platform).

Contract Factory Design: Reducing Blockchain Gas Costs through Templates and Tight Packing

· 4 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

In the past decade, decentralized payments typically used EOA (Externally Owned Accounts) wallet solutions, including existing MPC solutions based on EOA wallet sharding. However, achieving fully decentralized payments without any custodial servers requires an all-contract solution for fund custody. The optimization of gas costs in full-contract solutions has been a core challenge for developers.

While full-contract solutions offer high security, optimizing their gas costs remains a core challenge for developers. This article will explore how to significantly reduce gas costs and promote the application of sub-contracts in real scenarios through contract factory template design and tight packing inline assembly solutions.

Pay Protocol Secure Self-Custody Solution

· 4 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

What is Secure Self-Custody?

Secure self-custody is a fully smart contract-based solution for managing crypto assets. This solution allows merchants to have complete control over all crypto assets and permissions within their system without relying on any third-party servers or services. At the same time, it ensures multi-node security, preventing the loss of funds or data due to the compromise of a single point of authority.

When evaluating whether a solution meets the standard of secure self-custody, two key considerations must be addressed:

Buy Energy on Telegram

· 3 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

This tutorial will guide you on how to buy energy through the TG mini program to reduce transaction fees when performing functions such as aggregation and rebalancing on the Tron network.