-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch events with subscription and check relay #371
Comments
Hi, I'm Wilfrid Okorie, a Frontend Web Developer and I'd like to take this issue |
Can I try solving this issue? |
Omo |
I’d love to work on this task. |
Hello i was hoping if i can give this a shot again, i understand the task and i would like to work on it carefully. ETA 12 hours |
Can I try solving this issue? |
I’m interested in this issue, I can contribute by creating a robust hook in packages/afk_nostr_sdk for handling ndk.subscribe() and fetchEvents. My approach will focus on improving error tolerance, ensuring data retrieval from reachable relays, and avoiding disruptions when encountering unreachable or misconfigured relays. To achieve this, I’ll: Check relay status before fetching data. |
I'd like to take this issue. |
Can I contribute to this one? |
Hello @MSghais, I'm interested in contributing to this issue. As a developer experienced with Nostr development and state management, I can help create a robust solution for handling relay connectivity and event fetching. What I would do in this task involves:
I would be able to complete this within 2 days, My approach will focus on:
|
Can i be assigned this issue? |
@MSghais, i'd like to work on this issue |
Hi, Here’s how I’ll approach the task: |
May I be assigned to this? |
Is it okay if I take this? It will be nice to contribute to this awesome project |
I'd love to give this a go. |
Can I tackle this one? |
I am a Full Stack Developer with two years of professional experience, specializing in web3. I have strong background in blockchain and extensive experience in Next.js/React, TypeScript, Cairo and Rust. I will like to take care of this. |
am a frontend dev, can I try solving this issue? |
Can I contribute to this one? |
Can I take this issue? |
Could I grab this task? |
I’d like to work on this. |
I'd like to handle this task. |
I’m interested in this one. |
Can I tackle this one? |
May I try my hand at this? |
Could I take a shot at this? |
I'd love to give this a go. |
Could I take over this issue? I am currently new but already have experience from a Starknet Jigsaw Puzzle game and would love to add this to my experience on starknet chain |
Can I take this issue? i want to be the test automation engineer, can i ? |
I am a Frontend Developer, i have experience in Typescript and i have read all the requirements in the documentation, and i am happy to contribute to this task. This task is within my capabilities. My ETA is 10 hours |
Can I contribute to this one? |
Description
We when fetchEvent with ndk.fetchEvents, if a relay are not unreachable, it's throw an error and return an empty array.
Create a robust subscription/fetch that's return datas of the reachable relay Nostr, check the nostr-dev-kit
Do this hooks in: packages/afk_nostr_sdk.
Try different more robust implementations that's not throw an error if one of the relay have an issue:
ndk.subscribe(), check if relay
a hooks that's check if relay is ok before fetch
Try to add this Relay with error in the relay.ts:
'wss://relay.nostr.band',
'wss://purplepag.es',
'wss://relay.snort.social',
'wss://nos.lol'
Create a robust hooks with ndk.subscribe, that fetchEvent and not throw error if relay is unreachable
Create a store data with zutsand for Notes subscription, so we can render it like a webhook in the UI
Few relays to test, check if one is not working also try with RELAYS undefined or incorrect:
The text was updated successfully, but these errors were encountered: