Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pancake Swap with LINE Chatbot
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
LINE Developers Thailand
October 16, 2021
Technology
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pancake Swap with LINE Chatbot
LINE Developers Thailand
October 16, 2021
More Decks by LINE Developers Thailand
See All by LINE Developers Thailand
Unlocking the Power of AI Agents with LINE Bot MCP Server
linedevth
0
520
No REST No Stress! Connect LINE SHOPPING with MCP
linedevth
0
130
Build & Ship LINE MINI App with MINI AI Studio
linedevth
0
250
Scouter: Unleashing the True Power Level of Web Performance
linedevth
0
120
Spec > Spell: Write It Clearly, and Let AI Do the Magic
linedevth
0
120
ArgoCD: Deploy with confidence, conquer YAML mysteries
linedevth
0
140
LINE Group Bot by Zwiz.AI
linedevth
0
180
Next-Gen Retail: LINE MINI App with AI Location Intelligence
linedevth
0
200
TicketO: Reinventing the event experience with AI on MINI App
linedevth
0
310
Other Decks in Technology
See All in Technology
いまさら聞けない「仕様駆動開発入門」 〜AI活用時代の開発プロセスを考える〜
findy_eventslides
2
230
起点・思考・出力で分解する 〜PM業務の自動化設計〜
kazu_kichi_67
2
1.1k
感情と身体を置き去りにしない、エンジニアの生きのこり方 ──いまから、ここから「自分の状態」を扱うという選択
saorimurooka
0
360
トークン最適化のためのユーザーストーリー分析 / User Story Analysis for Token Optimization
oomatomo
0
120
[チョークトーク資料]AWS DevOps Agent を使いこなす / AWS Dev Ops Agent Chalk Talk AWS Summit Japan 2026
kinunori
4
800
はてなのサービス基盤を支える Kubernetes《足腰》
masayoshimaezawa
0
160
AWS Security Hub CSPMの成功・失敗体験
cmusudakeisuke
0
580
そこにあるから地図ができる~位置を示す"モノ"を愉しむ~ - Interface 2026年6月号GPS特集オフ会 / interface_202606_GPS_offline
sakaik
1
110
Deep Data Security 機能解説
oracle4engineer
PRO
2
230
AWS Security Agent といっしょに脅威モデリングをやってみよう
amarelo_n24
1
210
週末にループ・エンジニアリングの理解を深めるためのスライド
nagatsu
0
550
WebGIS AI Agentの紹介
_shimizu
0
580
Featured
See All Featured
Believing is Seeing
oripsolob
1
150
Designing for Timeless Needs
cassininazir
1
260
Building Adaptive Systems
keathley
44
3.1k
Design in an AI World
tapps
1
250
Making Projects Easy
brettharned
120
6.7k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
First, design no harm
axbom
PRO
2
1.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Transcript
None
PANCAKE SWAP WITH LINE CHATBOT
• DeFi, Yield Farming & PancakeSwap • Smart Contract Query
• Designing Flex Message • Rich Menu Switch Action AGENDA
What is DeFi? Decentralized finance is a system by which
financial products become available on a public decentralized blockchain network.
What is Blockchain?
What is Yield Farming? The practice of staking or lending
crypto assets in order to generate high returns or rewards in the form of additional cryptocurrency (CoinMarketCap
What is PancakeSwap?
The Problem 😢 😭 😱 Most DeFi live on web
Hard to check portfolio on mobile device on native app
Let’s Build Your Own DeFi Tracker
SMART CONTRACT QUERY PART 1
What is Smart Contract?
What is MasterChef?
Connecting to Smart Contract with Web3 JSON RPC Views, Submit
Transaction RPC Node Blockchain Client
Writing the Query Using Web3 https://medium.com/linedevth/eed4951679f3
DESIGNING FLEX MESSAGE PART 2
Designing Flex Message
Using function to represent Flex content
Using function to represent Flex content
Using function to represent Flex content
Voila!
Some Improvement? 🤔 I still need to remember my wallet
address What if I have multiple wallet address? Any easy way to store them.
RICH MENU SWITCH ACTION PART 3
What Is Rich Menu Switch Action?
1. Do an action 2. Webhook event Bot application 3.
Request Rich menu 4. Set Rich menu LINE server Client Richmenu Switching With Webhook
Richmenu Switch Action 1. Richmenu Switch Action 2. Set
Rich Menu LINE server Client
Richmenu with Wallet Address richmenu-alias-wallet1 richmenu-alias-wallet2
Richmenu with Wallet Address Message Action: 0x1234...5678 richmenu-alias-wallet1 richmenu-alias-wallet2
Richmenu with Wallet Address Richmenu Switch Action: richmenu-alias-wallet2 richmenu-alias-wallet1 richmenu-alias-wallet2
Richmenu with Wallet Address Richmenu Switch Action: richmenu-alias-wallet1 richmenu-alias-wallet1 richmenu-alias-wallet2
Richmenu with Wallet Address
Create Richmenu and set Image
Create Richmenu and set Image
Richmenu with Wallet Address
No need to remember address now!
medium.com/linedevth
THANK YOU!