pinion-send

Construct unsigned ETH or USDC transfer transactions on Base for client-side signing.

71|22|Updated Apr 6, 2020
One-click install
npx skills add https://github.com/nirholas/agenti --skill pinion-send
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pinion-send
Source: https://github.com/nirholas/agenti/tree/main/packages/protocols/x402-pinion-os/skills/send
Command: npx skills add https://github.com/nirholas/agenti --skill pinion-send

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables developers and wallets to create an unsigned ETH or USDC transfer on Base so the end user can securely sign and broadcast the transaction, enabling seamless on-chain payments without exposing private keys.

Core Features & Use Cases

  • Constructs an unsigned ETH or USDC transfer on Base and returns the raw transaction for signing.
  • Supports client-side signing and subsequent broadcasting, enabling secure payment workflows.
  • Use Case: A merchant app builds the tx server-side and prompts the user to sign it in their wallet before sending to the Base network.

Quick Start

Post a JSON payload to the skill endpoint with to, amount, and token to obtain an unsigned transaction ready for signing.

Frequently Asked Questions about pinion-send

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

FAQPage Schema
How do I construct an unsigned ETH or USDC transfer on Base?

To construct an unsigned ETH or USDC transfer on Base, post a JSON payload containing the recipient address, amount, and token type to the endpoint. The system returns a raw transaction object with fields like to, value, data, and chainId ready for client-side signing.

How does client-side signing work for Base payment workflows?

Client-side signing for Base payment workflows works by having a server build the raw transaction object and return it to the client. The end user then securely signs the transaction in their wallet and broadcasts it to the Base network without exposing private keys.

Can I use this to build USDC transactions on the Base network?

Yes, you can build USDC transactions on the Base network by specifying USDC as the token in your JSON payload. The system constructs the unsigned transaction data field required for the ERC-20 transfer, returning it for user signing.

What is the best way to secure private keys in Web3 transaction building?

The best way to secure private keys in Web3 transaction building is to construct unsigned transactions server-side and delegate signing to the client. This ensures the server never handles private keys while still preparing the necessary transaction fields for broadcasting.

What payload structure is needed to build a raw transaction object?

The payload structure needed to build a raw transaction object requires a JSON POST request containing the to address, amount, and token fields. This input generates an unsigned transaction with the correct value, data, and chainId fields for the Base network.

Are there limitations to building unsigned transactions for ERC-20 tokens?

A limitation of building unsigned transactions for ERC-20 tokens like USDC is that the server must correctly encode the transfer function call into the transaction data field. The client wallet must also support signing and broadcasting raw transactions on the Base chain.