Quick Start
Last updated
Was this helpful?
Last updated
Was this helpful?
In this example we will send 1 AE coin from one account to another. For more specific information on setups with Frameworks and TypeScript, please refer to the .
For the following snippets in the guide you need to specify multiple imports.
To receive some AE you can use the . Just paste sender's address, hit Top UP
and you'll immediately get some test coins.
This example shows:
how to create an instance of the SDK using the AeSdk
class
how to spend (send) 1 AE from the account the SDK instance was initialized with to some other AE address
Note:
You may remove code from Step 2 as this serves only for one-time creation
The spend
function expects the amount to be spent in aettos
(the smallest possible unit, 1 AE equal to 1 000 000 000 000 000 000 aettos
)
See and track your transactions