pull down to refresh

The closest I've found is their sdk, but I replied to Ethan Marcus on X to ask if he could point me in the right direction (no answer yet) for code about their AMM

USDB uses Spark's BTKN protocol, and I was able to find code for that: https://github.com/buildonspark/BTKN (although...I'm unclear if they're still using this repo...nothing new for 9 months).

This is the token address for USDB: https://sparkscan.io/token/btkn1xgrvjwey5ngcagvap2dzzvsy4uk8ua9x69k82dwvt5e7ef9drm9qztux87?network=mainnet

But sparkscan doesn't seem to give me a way to inspect the contract.

102 sats \ 1 reply \ @optimism 14 Jan

Their sdk seems to make swaps through a REST client, indicating that there's a server component to this. That's also what I understood from the docs.

So what one ideally would need is the server code, to self-host, so that there won't be a thirdparty to subpoena for access logs. Otherwise you'd be sending JSON about your transactions (or, best case, timing-correlatable inquiries) to a potentially coercible entity.

reply

If a get a response on x, I'll ask about it.

reply