A Spring Boot Starter to interact with the Solana blockchain. Simplifies blockchain development for Java/Kotlin developers by seamlessly integrating Solana into Spring Boot, reducing boilerplate and speeding up development.
- 🛠 Simple Integration: Easily connect to Solana RPC nodes.
- 📡 RPC Client Support: Access Solana's JSON-RPC endpoints with Solanaj.
- 🔑 Transaction Support: Send transfers, interact with accounts, and execute on-chain transactions.
- 🚀 Spring Boot Auto-Configuration: Automatically set up a Solana bean for blockchain interaction.
- A Solana RPC endpoint (e.g., https://api.mainnet-beta.solana.com or a devnet endpoint).
Add the starter to your Spring Boot project's dependencies:
dependencies {
implementation("io.bootsolana:solana-boot-starter:1.0.0")
}
<dependency>
<groupId>io.bootsolana</groupId>
<artifactId>solana-boot-starter</artifactId>
<version>1.0.0</version>
</dependency>
solana:
enabled: true
endpoint: "https://api.devnet.solana.com" # Replace with your preferred RPC endpoint