Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Simplify post-install and update skill.md for base-mainnet#10

Merged
juntao merged 14 commits intomainfrom
simplify-post-install
Feb 1, 2026
Merged

Simplify post-install and update skill.md for base-mainnet#10
juntao merged 14 commits intomainfrom
simplify-post-install

Conversation

@juntao
Copy link
Member

@juntao juntao commented Feb 1, 2026

Summary

  • Remove network configuration step from Post Install (now uses default base-mainnet)
  • Update install.md to 3 steps instead of 4
  • Update skill.md: remove create-wallet docs, add config keys table, use base-mainnet defaults

Changes

install.md

  • Remove Step 1 (Configure network) - bootstrap now copies default config
  • Renumber steps (4 → 3)
  • Update example JSON to show base-mainnet

skill/skill.md

  • Remove create-wallet tool documentation (only used at install time)
  • Remove "First-Time Setup" from Common Workflows
  • Remove get-address call from "Making a Direct Payment"
  • Update default config to match config-default.toml (base-mainnet)
  • Add table of available configuration keys for x402-config

🤖 Generated with Claude Code

Juntao Yuan and others added 3 commits February 1, 2026 07:36
The bootstrap script now copies a default config (base-mainnet with USDC),
so users no longer need to configure the network during installation.

- Remove Step 1 (Configure network)
- Renumber remaining steps (now 3 steps instead of 4)
- Update example JSON to show base-mainnet
- Remove testnet faucet reference

Users can change the network later using x402-config as documented in skill.md.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Changes:
- Remove create-wallet tool documentation (only used at install time)
- Remove "First-Time Setup" from Common Workflows
- Remove get-address call from "Making a Direct Payment"
- Update default config to match config-default.toml (base-mainnet)
- Add table of available configuration keys for x402-config
- Update example outputs to show base-mainnet

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Remove --rpc from pay required options, move to optional
- Update pay example to not use explicit --rpc
- Update x402curl to show --rpc uses config default
- Simplify x402curl example

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the installation and configuration process by defaulting to base-mainnet network instead of requiring users to choose a network during setup.

Changes:

  • Removed network configuration step from post-install process (now uses base-mainnet default)
  • Updated step numbering in install.md from 4 steps to 3 steps
  • Removed create-wallet tool documentation from skill.md (retained in install.md where it's used)
  • Updated all default configuration examples to use base-mainnet with USDC token
  • Added a configuration keys reference table to skill.md

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
install.md Removed Step 1 (network configuration), renumbered remaining steps from 4 to 3, updated example JSON to show base-mainnet defaults
skill/skill.md Removed create-wallet tool documentation and "First-Time Setup" workflow, updated all default configuration examples to base-mainnet, added configuration keys table, removed unnecessary get-address calls from workflows

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Juntao Yuan and others added 11 commits February 1, 2026 08:14
- Add --gas-price <GWEI> CLI option to override network gas price
- Fetch gas price from network if not specified
- Apply gas price to both ERC-20 and native ETH transfers
- Display gas price in Gwei in status output
- Update skill.md documentation

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Change description to focus on USDC payments
- Add important note: 1 USDC = 1000000 tokens
- Include examples for converting USDC to token amounts

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Remove optional CLI arguments except --gas-price (others use config defaults
and are not relevant to agent usage).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Remove use-network from commands list
- Remove use-network example
- Remove Available Network Profiles table

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Remove "IMPORTANT: Bootstrap Before First Use" from top
- Add "Troubleshooting" section at end for when binaries not found
- Simplify bootstrap instructions

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- get-address: Balance now shows human units (e.g., "1.5" for 1.5 USDC)
- pay: Amount accepts human units (e.g., --amount 1.5 for 1.5 USDC)
- Conversion based on token decimals from config (default: 6 for USDC)
- Update skill.md documentation with human-readable examples
- Remove multiplication note from skill.md

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Handle ".5" format (treat empty integer part as "0")
- Handle whitespace in input
- Handle empty input with error message
- Add unit tests for various float formats:
  - "1", "1.0", "1.5", "0.5", ".5"
  - "0.000001" (smallest unit)
  - "1.1234567" (truncation of extra decimals)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- --max-payment now in human units (e.g., 5 for 5 USDC)
- Update example to use --max-payment 5
- Update 402 response format examples to use human units
- Remove unnecessary options (rpc, wallet, password) from docs

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Updated the skill documentation to include new payment features and improved clarity on configuration handling.
- Fix localhost URLs to use https://link.x402labs.dev
- Fix typos: "ffieds" -> "fields", "YOu" -> "You"
- Fix max_auto_payment example to use human units ("5" not "5000000")
- Remove --password-file mention from Security Notes (not in simplified docs)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@juntao juntao merged commit 45ae0b0 into main Feb 1, 2026
6 checks passed
@juntao juntao deleted the simplify-post-install branch February 1, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants