This repository hosts the program library for HyperGrid Framework. Browse different programs below:
The HyperGrid Inbox Program is a specialized on-chain component deployed on the Solana base layer. It receives periodic updates from HyperGrid, which computes Merkle Tree hash values off-chain. Instead of storing these values directly on-chain, the HyperGrid Inbox Program uses Solana's logging functionality to record essential block details—such as slot, hash, and sender—thereby minimizing gas costs. By avoiding unnecessary account storage and leveraging logs for record-keeping, the HyperGrid Inbox Program provides a lightweight, trust-minimized way to synchronize data from the Sonic Grid with the security of the Solana network.
yarn install
anchor build
anchor deploy
anchor test --skip-build --skip-deploy