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.
Copy
val options = CreateAccountOption( tokens = listOf(Token.USDC.mint()), commitment = Commitment.finalized,)val result = Altude.createAccount(options)
or you can use the advanced version without any options: