LunarLink enables businesses to create and manage loyalty programs, enroll users, manage rewards, and track transactions. It enables seamless integration with Solana Pay, enabling secure, instant and seamless payment transactions. LunarLink utilizes digital assets to connect businesses worldwide, allowing them to offer better customer experiences and increase user retention, also providing businesses with a way to analyze their loyalty program performance, generate reports, and gain insights into customer behavior.
npm install
serverless dynamodb install (or to use a persistent docker dynamodb instead, open a new terminal: cd ./dynamodb && docker-compose up -d)
serverless offline start
serverless offline start
You can create, retrieve, list programs; add partners and execute transactions using following endpoints:
GET /program/
GET /program/:id
POST /program/
{
"tokenName": "Moon Point",
"tokenSymbol": "MP",
"type": "points",
"image": "...",
"settings": { "decimals": 2, "rewardRate": 5, "multiplier": 10 },
"organizer": "Org",
"name": "Lunar loyalty",
"description": "Lunar program linking businesses and user all over the world rocketing everyone to the moon",
"email": "[email protected]"
}
GET /partner/:id
POST /program/:id/addpartner
{
"name": "Moonstore",
"description": "Moon equipment",
"email": "[email protected]",
"walletAddress": "" // optional
}