x402storage
v1.2.0
Published
Upload files to x402.storage from the command line
Maintainers
Readme
x402store
Upload files to permanent IPFS storage from the command line. Pay-per-use with x402 payment protocol.
Installation
# From npm (when published)
npm install -g x402store-cli
# From source
git clone https://github.com/user/x402store-cli
cd x402store-cli
npm install
npm run build
npm linkSetup
Export your Base wallet private key:
export X402_PRIVATE_KEY=0x...Need a wallet? Create one at https://x402.storage
Usage
# Upload a file
x402store myfile.txt
# Output on success:
# Success! File stored permanently.
# URL: https://x402.storage/bafybeig...
# CID: bafybeig...Pricing
$0.01 per upload (paid in USDC on Base).
Requirements
- Node.js 18+
- Base wallet with USDC balance
License
MIT
