How ntroi/crimechase_move works
Project type and purpose
• CrimeChase is a Move-based smart-contract suite targeting the Aptos blockchain.
• It is neither a full-stack web app nor a traditional microservice architecture, but a modular on-chain NFT and asset-management system.
File structure
• Top-level files:
• Move.toml – package manifest, named address mapping for Aptos deployment
• README.md – project overview, architecture notes
• LICENSE.txt and .gitignore
• sh-scripts/ – helper scripts for dev setup, compilation, testing, publishing
• sources/ – each .move file is a separate module:
• appsigner.move
• badge_draw_ticket.move
• certification_center_v2.move
• crimechase_inventory.move
• crimechase_token.move
• mint_helper.move
• utilities.move
README for additional insights
• Modular design: certification_center_v1 & v2, app_signer, inventory, crimechase_token
• Uses Aptos Object Model: assets are on-chain resources
• Multi-agent transactions vs. single-address authorization
• Inventory ownership model, transfer lock/unlock
Elements
• Clear labels: “Admin Account,” “User Wallet,” “Move VM,” “crimechase_token Module,” etc.
• Dev → CLI → compile/publish → Blockchain
• Wallet → transaction → Modules → Storage
• Rectangles for off-chain components (scripts, CLI)
Detail
• Move module as its own component.
• Inter-module calls (e.g., mint_helper → crimechase_token.transfer).
• Authorization checks (e.g., certification_center_v2 checks admin Resource).
• Don’t omit the inventory’s lock/unlock mechanism around transfers.