Bypass Firestore database

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
dart, firebase

Research direction

No files, tests, or entry points are named. Start by locating the app's Firestore reads and writes, then identify how it calls the contract and RPC nodes; done means on-chain state is fetched directly while Firestore is used only to augment that data.

Written by the indexing model from the issue text.

Description

At the moment, the app is updating and retrieving data from NoSQL collections in Firebase. This setup is prone to failures from someone closing the app while a transaction is pending or just using a 3rd party client to make calls to the contract and change its state. We can mitigate this vulnerability by fetching the data directly from the chain (using RPC nodes) and only use Firestore to augment the data onchain.

Dominant language
Dart
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dOrgTech/trustless

All issues in dOrgTech/trustless

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.