How mrr4ngel/awardsapi works
API Awards is a Spring Boot API for creating and storing wallets, querying balances and tokens, generating award NFTs, deploying them to a blockchain, and returning token imagery. Its documented security capability encrypts private keys with AES before database storage. The tree identifies controllers, wallet service, persistence, and encryption modules, but no source excerpts were provided; internal call ownership and integrations therefore remain unverified, and the graph only asserts documented API behavior.
Main entry points: controllers HTTP API · KeyRepository.java Wallet key records · WalletService.java Wallet service · DeployController.java NFT deployment
Components 14
API surface
- HTTP API
demo/src/main/java/com/example/walletapi/controllers
Award lifecycle
- Award generation
demo/src/main/java/com/example/walletapi/controllers/AwardController.java - Award assets
demo/src/main/resources/images - NFT deployment
demo/src/main/java/com/example/walletapi/controllers/DeployController.java - Token image response
demo/src/main/java/com/example/walletapi/controllers/AwardController.java
Wallet and security
- Wallet operations
demo/src/main/java/com/example/walletapi/controllers/WalletController.java - Wallet generation
demo/src/main/java/com/example/walletapi/controllers/WalletControllerGeneration.java - Wallet service
demo/src/main/java/com/example/walletapi/services/WalletService.java - AES encryption
demo/src/main/java/com/example/walletapi/utils/AESUtil.java
Persistence and chain
- Award records
demo/src/main/java/com/example/walletapi/repositories/AwardRepository.java - Wallet key records
demo/src/main/java/com/example/walletapi/repositories/KeyRepository.java - MariaDB
- Blockchain middleware
Other components
- API consumer
Connections 12
- API consumer → HTTP API: requests
README.md - HTTP API → Wallet operations: offers wallet query
README.md - HTTP API → Wallet generation: offers wallet creation
README.md - HTTP API → Award generation: offers NFT generation
README.md - HTTP API → NFT deployment: offers NFT deploy
README.md - HTTP API → Token image response: offers token image
README.md - Wallet operations → Wallet key records: queries wallets
- Wallet service → Wallet key records: stores keys
- Wallet key records → MariaDB: stores records
- Award records → MariaDB: stores awards
- Wallet service → AES encryption: encrypts private keys
- NFT deployment → Blockchain middleware: deploys awards