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

An Introduction to LINE Blockchain Platform

An Introduction to LINE Blockchain Platform

LINE DevDay 2020

November 27, 2020
Tweet

More Decks by LINE DevDay 2020

Other Decks in Technology

Transcript

  1. 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
  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. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. Server-to-Server API Your Service LINE Blockchain Developers User Client-Server authentication

    (Cookie / Session) Server-Server authentication (API Key/Secret)
  14. 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