leather-io / extension

Leather browser extension
https://leather.io
MIT License
295 stars 141 forks source link

Make Ordinals API configurable #4994

Open kyranjamie opened 7 months ago

kyranjamie commented 7 months ago

We should be able to switch between various APIs, if one is down, or the other more reliable.

This task is to ensure we can easily switch between pre-configured Ordinals API. These could even be defined in the wallet-config.json.

e.g.

const activeInscriptionApi: 'hiro' | 'bestinslot' = 'bestinslot';
markmhendrickson commented 7 months ago

Should we do this both for the regular Ordinals API and BRC-20? And any others we use e.g. for Stamps while we're at it?