Skip to content

What is this?

Star Atlas is a space game. SAGE is the part of it where fleets fly between star systems, mine asteroids, craft components, and trade at starbases. All of that lives on a blockchain, which means the game’s state is public: anyone can read it.

Reading it is harder than it sounds. The data on chain is raw bytes, laid out in a format the game’s program understands and nothing else does. This SDK does the translating.

const character = await sage.characters.forProfile(profileAddress);
const fleets = await character.fleets.all();
fleets[0].name; // "Ravager" — a string, not a padded byte array

Anyone building something that needs to know what is happening in SAGE: a fleet dashboard, a mining calculator, a market tracker, a Discord bot.

You do not need to know Solana. The pages ahead explain the handful of concepts you actually need, when you need them. If you do know Solana, the SDK will feel familiar and you can skip most of the explanation.

The SDK is read-only. It does not sign transactions, submit instructions, move assets, or hold keys. There is no wallet to connect.

That is a deliberate boundary, not a gap waiting to be filled. It has a useful consequence: nothing you do with this SDK can cost you anything. You can point it at the live game and explore freely.

SAGE C4 running on the z.ink public test realm — a separate network from Solana mainnet, where the current version of the game runs.

Your first read gets live data on your screen in about five minutes. If you would rather understand the shape of things first, how the SDK thinks is the short version of the design.