Skip to content

Ruithlzz09/xumm-Poc

Repository files navigation

XUMM-PoC

Refer the sample.env for env sample and update key values and rename sample.env to .env

There are three ways to integrate with our platform/app and easily interact with end users for sign in & transaction signing (basically the MetaMask experience, except not based on a browser plugin but on a mobile app).

  1. Backend integration: you call our API (with our SDK or directly on our API), generate a sign in or sign request, get a paylaod ID, redirect URL (which is also the content for the QR code) and websocket URL for live status updates. Your backend communicates this to your frontend.
  2. Frontend-only integration through OAuth2 (PKCE) & JWT in return, then to be used @ frontend with our Javsacript/Typescript SDK or directly to our API
  3. Embedded (‘dApp like’) as a webapp inside Xumm, we call this ‘xApps’. JWT and API calls are easy, through our Javsacript/Typescript SDK in your xApp frontend.

In this Repo, We are covering approach1 If you want to identify a user based on a signed transaction (without asking the user for a payment) you can send a payload with a false TransactionType ie Sign In User.We are connecting our network on devnet network

Learning Material

  1. XUMM SDK
  2. Xumm Integration
  3. Payload
  4. Payload-transaction
  5. Register App for xumm credentials
  6. To Create new funded account
  7. Different Networks
  8. Reserves
  9. QR codes
  10. Accept Offer
  11. Transaction Errors

Extra resources

  1. Frontend Integration
  2. Sign In User
  3. Push Notification
  4. Observe payload status
  5. Payment

Must know things

  1. Signing payload from specific address and towards a specific network
  2. How do we detect if the account was signed through a test/dev/main net? (https://xumm.readme.io/discuss/62a185c8a51f14003091f913)

As per Discussion with Xumm Developers and at public Discord

There is no USDC on the XRPL.There is USD issued by Gatehub and by Bitstamp, but that's not USDC.There is no public Faucet in devnet for usd In that case the parties to talk to are Gatehub and Bitstamp, and ask them to issue on testnet and provide a faucet there.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published