authenticate-wallet
Original:🇺🇸 English
Translated
Sign in to the wallet using email OTP. Use this when the user needs to log in, or when other skills fail with "not authenticated" errors.
7installs
Added on
NPX Install
npx skill4agent add ahmetenesdur/fibx-agentic-wallet-skills authenticate-walletTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Wallet Authentication
This skill manages the authentication session for the CLI. It uses a 2-step email OTP process managed by Privy.
fibxUsage
Step 1: Initiate Login
Request an OTP code to be sent to the user's email.
bash
npx fibx auth login <email>Step 2: Verify OTP
Complete the login using the code provided by the user.
bash
npx fibx auth verify <email> <code>Check Status
Verify if the wallet is currently authenticated and view the wallet address.
bash
npx fibx statusExamples
Full Login Flow
- Agent: "I need to log you in. What is your email?"
- User: "user@example.com"
- Agent: Runs command:
bash
npx fibx auth login user@example.com - Agent: "I've sent a code to your email. Please provide it."
- User: "123456"
- Agent: Runs command:
bash
npx fibx auth verify user@example.com 123456 - Agent: Validates success:
bash
npx fibx status
Error Handling
- "Invalid code": Ask the user to check the code and try again.
verify - "Rate limit": Wait for a few seconds before retrying.
- "Session expired": Restart the flow from Step 1.