Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Create chain agnostic structure #21

Open
salieflewis opened this issue Jul 25, 2023 · 1 comment
Open

Create chain agnostic structure #21

salieflewis opened this issue Jul 25, 2023 · 1 comment

Comments

@salieflewis
Copy link
Collaborator

salieflewis commented Jul 25, 2023

Dreamweaver should be extensible such that it works on any chain a database contract is deployed to, that means that chain configuration should take place in a .env file.

I'm surely forgetting some, but here are a couple areas where this needs to be implemented.

  1. viem/client.ts
  2. bundlr/bundlrActions.ts (apiUrl)
  3. fetch/utils/getLastBlockNum.ts
@0xTranqui
Copy link
Member

add this file to the list (you can see it hardcoding what blockexplorer to use) https://github.com/public-assembly/dreamweaver/blob/jawn/fluff-removal/fetch/utils/getLastBlockNum.ts

jawndiego added a commit that referenced this issue Jul 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants