A smart contract framework that decentralized loyalty point system
This project contains a number of packages.
This package contains the code for the smart contract.
This package is what is needed to create an SDK by utilizing the code of the smart contract.
This package has two functions.
- It functions to relay the user's transactions to the blockchain
- The payment information received from the kiosk is approved by the user and then the smart contract is called.
The Graph is a protocol for building decentralized applications (dApps) quickly on Ethereum and IPFS using GraphQL. The Graph CLI takes a subgraph manifest (defaults to subgraph.yaml) with references to:
- A GraphQL schema,
- Smart contract ABIs, and
- Mappings written in AssemblyScript.
It compiles the mappings to WebAssembly, builds a ready-to-use version of the subgraph saved to IPFS or a local directory for debugging, and deploys the subgraph to a Graph Node.