You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we can only fetch and display a single BitName domain for a wallet address in the WalletProfileDetails component. The working code uses the SRC-101 balance endpoint and successfully displays one BitName.
Desired Behavior
Short Term: Fetch and display all BitName domains owned by a wallet address
Long Term:
In WalletProfileDetails: Display only the BitName domain if it's registered to the wallet (address_btc)
In WalletContent: Show a comprehensive list of all bitname tokenCards owned by the wallet
Include in DashboardDetails: Display the registered BitName domain in this specific dashboard page for logged in users in a future update
SRC-101 BitName Domain Fetching Enhancement
Current Behavior
Currently, we can only fetch and display a single BitName domain for a wallet address in the
WalletProfileDetails
component. The working code uses the SRC-101 balance endpoint and successfully displays one BitName.Desired Behavior
WalletProfileDetails
: Display only the BitName domain if it's registered to the wallet (address_btc
)WalletContent
: Show a comprehensive list of all bitname tokenCards owned by the walletDashboardDetails
: Display the registered BitName domain in this specific dashboard page for logged in users in a future updateAPI Documentation Reference
Using the documented endpoint from https://stampchain.io/docs#/SRC-101/getSrc101AddressBalance:
Attempted Solutions
1. Basic Pagination Approach
Result: Still only fetched one BitName
2. OpenStamp-Style Implementation
Based on OpenStamp's explorer (https://openstamp.io/explorer?q=[address]&tab=domain):
Result: No BitNames displayed despite data appearing in console logs
3. Multiple Page Fetching
Result: No improvement in BitName fetching
Current Working Code
This code successfully displays one BitName but needs enhancement for multiple BitNames:
Questions
Next Steps
address_btc
References
Labels: enhancement, api-integration, src-101, bitnames
The text was updated successfully, but these errors were encountered: