Lemon Cash Mini App SDK

The Lemon Mini App SDK is the public developer contract for building a Mini App that runs inside the Lemon Cash mobile app. It is a TypeScript library, not an HTTP API: calls are passed to the native app over the React Native WebView postMessage bridge and every action is confirmed by the user in-app. The surface is six functions — authenticate (Sign-In with Ethereum, EIP-4361, with optional user claims), deposit and withdraw (move tokens between the Lemon wallet and the Mini App wallet), transferMoney (ARS and PEN payouts to whitelisted bank destinations), callSmartContract (single or batched contract calls with optional Permit2 approvals) and isLemonWebView (environment detection).

Documentation

Other Resources

🔗
DeveloperPortal
https://lemon.me/build
🔗
SourceCode
https://github.com/lemonatio/mini-app-sdk
🔗
SignUp
https://tally.so/r/wkMeL1
🔗
Roadmap
https://lemonminiapps.featurebase.app/en/roadmap
🔗
LLMsTxt
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/llms/lemon-cash-llms.txt
🔗
Packages
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/packages/lemon-cash-packages.yml
🔗
SDKs
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/packages/lemon-cash-packages.yml
🔗
ErrorCatalog
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/errors/lemon-cash-problem-types.yml
🔗
Conventions
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/conventions/lemon-cash-conventions.yml
🔗
DataModel
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/data-model/lemon-cash-data-model.yml
🔗
Sandbox
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/sandbox/lemon-cash-sandbox.yml
🔗
ChangeLog
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/changelog/lemon-cash-changelog.yml
🔗
Lifecycle
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/lifecycle/lemon-cash-lifecycle.yml
🔗
AgentSkill
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/skills/_index.yml
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/lemon-cash/refs/heads/main/apis.yml

API entry from apis.yml

apis.yml Raw ↑
aid: lemon-cash-mini-app-sdk
name: Lemon Cash Mini App SDK
description: 'The Lemon Mini App SDK is the public developer contract for building a Mini App that runs
  inside the Lemon Cash mobile app. It is a TypeScript library, not an HTTP API: calls are passed to the
  native app over the React Native WebView postMessage bridge and every action is confirmed by the user
  in-app. The surface is six functions — authenticate (Sign-In with Ethereum, EIP-4361, with optional
  user claims), deposit and withdraw (move tokens between the Lemon wallet and the Mini App wallet), transferMoney
  (ARS and PEN payouts to whitelisted bank destinations), callSmartContract (single or batched contract
  calls with optional Permit2 approvals) and isLemonWebView (environment detection).'
humanURL: https://lemoncash.mintlify.app/
baseURL: https://www.lemon.me/app/mini-apps/
x-baseURL-note: Not an HTTP API base. This is the documented universal-link base for the Mini App surface
  (detail/:mini-app-id and webview/:mini-app-id); the SDK itself is transported over the in-app WebView
  bridge, not over HTTP.
tags:
- SDK
- Mini Apps
- Web3
- Wallet
- Payments
- Authentication
properties:
- type: Documentation
  url: https://lemoncash.mintlify.app/
- type: APIReference
  url: https://lemoncash.mintlify.app/functions/authenticate
- type: GettingStarted
  url: https://lemoncash.mintlify.app/quickstart/quickstart
- type: DeveloperPortal
  url: https://lemon.me/build
- type: SourceCode
  url: https://github.com/lemonatio/mini-app-sdk
- type: SignUp
  url: https://tally.so/r/wkMeL1
- type: Roadmap
  url: https://lemonminiapps.featurebase.app/en/roadmap
- type: LLMsTxt
  url: llms/lemon-cash-llms.txt
- type: Packages
  url: packages/lemon-cash-packages.yml
- type: SDKs
  url: packages/lemon-cash-packages.yml
- type: Authentication
  url: authentication/lemon-cash-authentication.yml
- type: ErrorCatalog
  url: errors/lemon-cash-problem-types.yml
- type: Conventions
  url: conventions/lemon-cash-conventions.yml
- type: DataModel
  url: data-model/lemon-cash-data-model.yml
- type: Sandbox
  url: sandbox/lemon-cash-sandbox.yml
- type: ChangeLog
  url: changelog/lemon-cash-changelog.yml
- type: Lifecycle
  url: lifecycle/lemon-cash-lifecycle.yml
- type: AgentSkill
  url: skills/_index.yml