Upgrade to Pro — share decks privately, control downloads, hide ads and more …

An Introduction to LINE Blockchain Platform

An Introduction to LINE Blockchain Platform

Eebedc2ee7ff95ffb9d9102c6d4a065c?s=128

LINE DevDay 2020

November 27, 2020
Tweet

Transcript

  1. None
  2. Cashew (Testnet) Daphne (Mainnet) LINE Blockchain Developers BITMAX Wallet LINE

    Blockchain Explorer Your Game Your Travel Your Health Your Social LINE Blockchain LINE Blockchain Platform Your Blockchain Services Data pipeline LINE Blockchain Framework Query Transaction Keystore
  3. Cashew (Testnet) Daphne (Mainnet) LINE Blockchain Developers BITMAX Wallet LINE

    Blockchain Explorer Your Game Your Travel Your Health Your Social LINE Blockchain LINE Blockchain Platform Your Blockchain Services Data pipeline LINE Blockchain Framework Query Transaction Keystore
  4. Cashew (Testnet) Daphne (Mainnet) LINE Blockchain Developers BITMAX Wallet LINE

    Blockchain Explorer Your Game Your Travel Your Health Your Social LINE Blockchain LINE Blockchain Platform Your Blockchain Services Data pipeline LINE Blockchain Framework Query Transaction Keystore
  5. Cashew (Testnet) Daphne (Mainnet) LINE Blockchain Developers BITMAX Wallet LINE

    Blockchain Explorer Your Game Your Travel Your Health Your Social LINE Blockchain LINE Blockchain Platform Your Blockchain Services Data pipeline LINE Blockchain Framework Query Transaction Keystore
  6. Cashew (Testnet) Daphne (Mainnet) LINE Blockchain Developers BITMAX Wallet LINE

    Blockchain Explorer Your Game Your Travel Your Health Your Social LINE Blockchain LINE Blockchain Platform Your Blockchain Services Data pipeline LINE Blockchain Framework Query Transaction Keystore
  7. Cashew (Testnet) Daphne (Mainnet) LINE Blockchain Developers BITMAX Wallet LINE

    Blockchain Explorer Your Game Your Travel Your Health Your Social LINE Blockchain LINE Blockchain Platform Your Blockchain Services Data pipeline LINE Blockchain Framework Query Transaction Keystore
  8. Cashew (Testnet) Daphne (Mainnet) LINE Blockchain Developers BITMAX Wallet LINE

    Blockchain Explorer Your Game Your Travel Your Health Your Social LINE Blockchain LINE Blockchain Platform Your Blockchain Services Data pipeline LINE Blockchain Framework Query Transaction Keystore
  9. BITMAX Wallet https://wallet.bitmax.me

  10. Custodial wallet service for LINE users › LINE is responsible

    for storage of private keys › No chance to lose your private key › Designed for mass adoption › No need to install browser extensions or client apps › Grant transactions with a plain browser › via LINE message › via page redirect
  11. BITMAX integration › BITMAX: LINE’s crypto asset trading service ›

    https://www.bitmax.me/ › BITMAX user → BITMAX Wallet user › But not vice versa › Shows balance of LINK(LN) in BITMAX › Redeem LINK Rewards to LINK › https://blockchain.line.me/linkrewards/ › LINK Reward : NFT on Daphne › LINK : LINE’s cryptocurrency on Bamboo › KYC is required on BITMAX
  12. Features › LINE Login › Cashew / Daphne › Access

    your tokens › For all services › Service token, Item token › Send tokens to LINE friends › Do not write down wallet addresses › Even for non-BITMAX Wallet users
  13. LINE Blockchain Developers https://blockchain.line.biz/

  14. High-level API service for LINE Blockchain Console RESTful API Docs

  15. High-level API service for LINE Blockchain Console RESTful API Docs

  16. High-level API service for LINE Blockchain Console RESTful API Docs

  17. API Key features Callback Item tokens Transactions Service wallets Users

    Service tokens
  18. DEMO › LBCC (LINE Blockchain Coffee Coin) › Service token

    (Fungible) › Americano : 200 LBCC › LBCR (LINE Blockchain Coffee Reward) › Item token (Non-fungible) › Buy 1 Americano, Get 1 LBCR › 5 LBCR : 1 Americano https://github.com/behumble/line-blockchain-coffee
  19. None
  20. DEMO 02: Create a service & a service wallet

  21. DEMO-04: Create a service token (LBCC)

  22. DEMO: Create LBCR

  23. DEMO: Find transactions with LBE

  24. DEMO: Cashew only Add a test user

  25. Run line-blockchain-coffee › https://github.com/behumble/line-blockchain-coffee › Written in JavaScript › https://nuxtjs.org/

    › https://vuetifyjs.com/ › LINE Login npm package › https://github.com/nkjm/line-login › Find User ID on login success › like U111ed5915b06ee098a24a725d02f5d40
  26. DEMO: Environment variables

  27. DEMO: Run server and set callback uri

  28. DEMO: Send to a user from Console UI

  29. Server-to-Server API Your Service LINE Blockchain Developers User Client-Server authentication

    (Cookie / Session) Server-Server authentication (API Key/Secret)
  30. Signing API Requests https://docs-blockchain.line.biz/api-guide/Authentication normalize timestamp nonce API secret signature

    › Verify sender › Tamper-proof › Protect against replay attacks › Dev tips › Signing proxy server › https://github.com/behumble/lbp-signing-proxy › Sample snippets (Golang, JavaScript, C#) › Go : https://github.com/line/blockchain-sample-link-cinema/blob/bfe38337f941dee0b342fe865ac0e38ac297e962/api/api.go#L117 › JS : https://github.com/behumble/lbp-signing-proxy/blob/master/lbp.js#L4 › C# : https://github.com/line/blockchain-sample-mage-duel/blob/master/Server/TCGSampleServer/Service/TCGGameService/LBD/Util/Signature.cs#L124
  31. DEMO: Using API with cURL

  32. DEMO: Mint and balance in LBC

  33. DEMO: Metamask

  34. DEMO: LINE Blockchain Coffee

  35. DEMO: What’s in the LBCR?

  36. Item token image base URI ${BASE_IMAGE_URI}${TOKEN-ID} or ${BASE_IMAGE_URI}${TOKEN-TYPE}

  37. Why LINE Blockchain Platform? Large User Base Ease of use

    LINK Rewards
  38. Choose your plan

  39. Thank you