Closed filipzeta closed 1 year ago
Store a map to grab zetagroup asset by pubkey without an RPC fetch or having to manually filter all zetaGroups
Tested locally with the following code:
This gives the right assets SOL/BTC/ETH/APT/ARB. In reality we wouldn't use getZetaGroupAddress(), we'd have the pubkey from elsewhere.
getZetaGroupAddress()
Store a map to grab zetagroup asset by pubkey without an RPC fetch or having to manually filter all zetaGroups