This directory contains practical examples demonstrating how to use Nekoton Kotlin for real blockchain operations.
BasicWallet.kt- Simple wallet operations (send/receive)SmartContractInteraction.kt- Calling smart contract methodsTokenOperations.kt- Query jetton balances and transfer tokens using Jetton APIJettonDeployment.kt- Deploy TIP-3 Jetton root contractEventMonitoring.kt- Monitor account state and transactions in real timeHDWallet.kt- Hierarchical deterministic wallet
# Compile and run examples
./gradlew run --args="examples.BasicWallet"All examples use Tycho testnet by default:
- JSON-RPC: https://rpc-testnet.tychoprotocol.com/
- Protobuf: https://rpc-testnet.tychoprotocol.com/proto
- Currency: TYCHO (9 decimals)
- Explorer: https://testnet.tychoprotocol.com
For other networks (e.g., TON or Everscale mainnets), update the transport URLs in each example.