Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.altude.so/llms.txt

Use this file to discover all available pages before exploring further.

Accounts can be created either randomly or derived from existing mnemonics or secret keys.
In the example below, we generate a new keypair and use it to create an account (Associated Token Account, or ATA) on the blockchain.
val result = Altude.createAccount()
or you can use the advanced version with additional options:
val options = CreateAccountOption(
    tokens = listOf(Token.USDC.mint()),
    commitment = Commitment.finalized,
)

val result = Altude.createAccount(options)