anandcsingh / rankproof

1 stars 0 forks source link

Run a background task in nextjs #77

Open anandcsingh opened 1 year ago

anandcsingh commented 1 year ago

Create a function that runs periodically on the server. The function will be used to retrieve events from the Blockchain parse it and store it in firebase for later use You can get an idea how to do this using chat gpt second question seems to lead somewhere https://chat.openai.com/share/2a82e086-024e-4b63-968d-7c8834c9642c

Use a mock function to simulate retrieving data, a console log should be sufficient for now