March 11, 2022

StableCoins on Solana

I saw that there was a spike of interest to non-USA based stablecoins, as a result of fear that funds could be blacklisted.

I've decided to check what's going on in Solana infrastructure.

Both Tether and Centre has their token on Solana: https://raw.githubusercontent.com/solana-labs/token-list/main/src/tokens/solana.tokenlist.json , exchanges to support them, there are gateways etc. I think they are legit.

From the abovementioned document we can get the "tokenIDs" of USDT/USDC.

Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYBand EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Now, we can see that both of these addresses are owned by TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DAis a smart contract on solana to deal with tokens. In contrast to Ethereum, where everyone have their own contract, in Solana you can write you own contract or reuse the standard one. Both are using the standard one. Checking its code it is easy to see, that the issuer of a token is capable of freezing the account. Funds are not safu :(