Getting started with æternity blockchain development is straightforward with the æternity project tool (aeproject). This command-line utility helps you initialize projects, compile smart contracts, run tests, and deploy to the blockchain.
To begin your journey, create a new project directory and initialize it with the aeproject tool:
mkdirmy-aeppcdmy-aeppaeprojectinit
The initialization process creates a well-organized project structure with dedicated directories for your smart contracts, deployment scripts, tests, and Docker configuration.
The initialization process creates a well-organized project structure:
my-aepp/
To ensure your contract works as expected, write a test file:
Run your tests with aeproject test.
Wallet Setup and Acquiring Test Tokens
To interact with the æternity blockchain, you'll need a wallet. The Base æpp (Mobile Wallet) is a comprehensive mobile wallet for iOS and Android. Create a new account and securely store your seed phrase.
For browser-based development, install the SuperHero Wallet (Browser Extension). It allows easy switching between mainnet and testnet environments.
Before deploying to mainnet, develop on the testnet using free test tokens. Visit https://faucet.aeternity.io or use the command:
Environment Configuration
Configure your environment to connect to the appropriate æternity network:
During development, use a local node with aeproject node for faster testing.
Next Steps
Explore æternity's advanced features like state channels for off-chain scaling, oracles for accessing external data, and the AENS naming system for human-readable addresses.