passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
975 stars 455 forks source link

Explore Moralis for Easier Data Access & Compatibility with Alchemy #1710

Open erichfi opened 1 year ago

erichfi commented 1 year ago

Objective

Quickly investigate how Moralis could fit alongside our existing Alchemy setup to optimize and simplify data access on our platform.

Acceptance Criteria

Tasks

Timeframe Complete all tasks within 1 working day.

Let's be quick but thorough—every insight counts! 🚀

tim-schultz commented 1 year ago

Scheduled Call

I have a call scheduled for 9:30 AM MT on Monday, 10/2.

Limitations

Currently Supported Chains by Moralis

Moralis Features

Moralis offers useful aggregations:

Cost Estimation

Rough Estimate

The cost of querying 1,000 addresses and then up to 10 of the recipient transfers (i.e., identifying Sybil network farming stamps) is a maximum of 55,000 CU. The actual cost would likely be lower, as not all addresses would have 10 transfer events.

This is impressive, considering the Pro plan costs $49/month (billed annually) and offers 15 million CU. You could run that script 272 times each month.

Alchemy Comparison

Alchemy offers a similar endpoint, but it also queries NFT transfers. Running a similar test would cost 1,650,000 CU. With the same $49/month plan, we could run the test 242 times.

So, Alchemy is slightly more expensive.

Questions for Call with Moralis

tim-schultz commented 1 year ago

Putting this into blocked until call with Moralis on Monday

tim-schultz commented 1 year ago

Here is a synopsis of the call with Moralis as well as a document Chris from Moralis was nice enough to write up. https://docs.google.com/document/d/1ww_NcW-8jHxpwaB7EJlEJ9FCJ95BDlFpiZBjCJZ3xKo/edit