Funding the Wallet
The Finance District wallet can be funded in two ways: through the web interface (credit card / onramp) or by direct token transfer to the wallet address from another wallet or exchange.
Confirm wallet is authenticated
CODEBLOCK0
If the wallet is not authenticated, refer to the authenticate skill.
Get the Wallet Address
First, retrieve the wallet address that funds should be sent to:
CODEBLOCK1
This returns wallet addresses for all supported chains. Share the appropriate address with the human based on which chain they want to fund.
For a specific chain:
CODEBLOCK2
Funding Methods
Method 1: Web Interface (Credit Card / Onramp)
The Finance District platform provides a web-based onramp where users can purchase crypto with credit cards or other payment methods.
Tell your human: "You can fund your wallet through the Finance District web interface at the platform dashboard. You'll be able to use a credit card or other payment methods to purchase tokens directly into your wallet."
Method 2: Direct Transfer
The human can send tokens from any other wallet or exchange directly to their Finance District wallet address.
Tell your human: "You can send tokens from any wallet or exchange to your Finance District wallet address. Here's your address on [chain]: [address]."
Provide the correct wallet address for the chain they want to fund. Remind them to double-check the chain matches — sending tokens on the wrong chain may result in lost funds.
Checking Balance After Funding
Once the human confirms they have sent funds:
CODEBLOCK3
Note that transaction confirmation times vary by chain:
- - Ethereum: ~12 seconds per block, but may take a few minutes for finality
- Polygon/Base/Arbitrum: Typically faster, a few seconds
- Solana: Near-instant
- Exchange withdrawals: May take additional time due to exchange processing
Flow
- 1. Check authentication with INLINECODE1
- Get wallet addresses with INLINECODE2
- Share the appropriate address with the human
- Guide them to use the web onramp or direct transfer
- After they confirm funding, verify balance with INLINECODE3
Prerequisites
- - Must be authenticated (
fdx status to check, see authenticate skill)
Notes
- - The wallet supports all EVM chains and Solana — make sure the human sends tokens on the correct chain
- There is no CLI command for direct onramp; funding requires the human to take action outside the CLI
- If the human wants to move funds between chains within their wallet, that's a transfer operation — see the
send-tokens skill
钱包充值
Finance District钱包可通过两种方式充值:通过网页界面(信用卡/法币入金)或通过从其他钱包或交易所直接向钱包地址转账代币。
确认钱包已认证
bash
fdx status
如果钱包未认证,请参考authenticate技能。
获取钱包地址
首先,获取应接收资金的钱包地址:
bash
fdx call getWalletOverview
这将返回所有支持链的钱包地址。根据用户想要充值的链,分享相应的地址。
针对特定链:
bash
fdx call getWalletOverview --chainKey ethereum
充值方式
方式一:网页界面(信用卡/法币入金)
Finance District平台提供基于网页的法币入金功能,用户可以通过信用卡或其他支付方式购买加密货币。
告知用户: 您可以通过Finance District网页界面的平台仪表盘为钱包充值。您可以使用信用卡或其他支付方式直接将代币购买到您的钱包中。
方式二:直接转账
用户可以从任何其他钱包或交易所直接向其Finance District钱包地址发送代币。
告知用户: 您可以从任何钱包或交易所向您的Finance District钱包地址发送代币。这是您在[链]上的地址:[地址]。
提供用户想要充值的链对应的正确钱包地址。提醒用户仔细核对链是否匹配——在错误的链上发送代币可能导致资金丢失。
充值后检查余额
用户确认已发送资金后:
bash
fdx call getWalletOverview --chainKey <链>
请注意,交易确认时间因链而异:
- - 以太坊:每个区块约12秒,但最终确认可能需要几分钟
- Polygon/Base/Arbitrum:通常更快,只需几秒
- Solana:近乎即时
- 交易所提现:由于交易所处理,可能需要额外时间
流程
- 1. 使用fdx status检查认证状态
- 使用fdx call getWalletOverview获取钱包地址
- 与用户分享相应的地址
- 引导用户使用网页入金或直接转账
- 用户确认充值后,使用fdx call getWalletOverview --chainKey <链>验证余额
前置条件
- - 必须已认证(使用fdx status检查,参见authenticate技能)
备注
- - 钱包支持所有EVM链和Solana——确保用户在正确的链上发送代币
- 没有用于直接法币入金的CLI命令;充值需要用户在CLI之外进行操作
- 如果用户想要在钱包内的不同链之间转移资金,这是转账操作——请参见send-tokens技能