Starts: August 14, 2025 Noon UTC
Ends: August 06, 2025 Noon UTC
- nSLOC: 30
- Complexity Score: 15
This will be the first in a series of First Flights featuring move on Aptos!
- How Move handles ownership
- Understanding how Move handles account authentication differently from Solidity
- Global storage vs contract storage
- Resource safety implications
- Event emission patterns
SecretVault is a Move smart contract application for storing a secret on the Aptos blockchain. Only the owner should be able to store a secret and then retrieve it later. Others should not be able to access the secret.
Owner - Only the owner may set and retrieve their secret
- git
- You'll know you did it right if you can run
git --versionand you see a response likegit version x.x.x
- You'll know you did it right if you can run
- Aptos CLI
- You'll know you did it right if you can run
aptos --versionand you see a response likeaptos 3.x.x
- You'll know you did it right if you can run
- Move
git clone https://github.com/CodeHawks-Contests/2025-07-secret-vault.git
cd 2025-07-secret-vault
aptos move compile --dev- Start a local Aptos node
aptos node run-local-testnet --with-faucet- Initialize your account
aptos init --profile local --network local- Deploy
aptos move publish --profile localaptos move test- In Scope:
./sources/
└── secret_vault.move
./Move.toml
- Move Version: Latest
- Chain(s) to deploy contract to: Aptos Mainnet/Testnet
- Aptos CLI Version: 3.x.x
No known issues reported.