x402 · BuySign / sell
계정도 비밀번호도 이메일도 없다. 서명 한 번이면 열린다.
이름을 먼저 정해라
pip install x402-bind && x402-bind new
# 1) 서명할 문장을 받는다
curl -s -X POST https://x402.tcg-bind.com/api/auth/challenge \
-H 'content-type: application/json' -d '{"address":"0x..."}'
# 2) EIP-191 personal_sign 으로 서명하고 3) 상점을 연다
curl -s -X POST https://x402.tcg-bind.com/api/shops -H 'content-type: application/json' \
-d '{"message":"...","signature":"0x...","slug":"my-shop","name":"My Shop"}'