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
LINE Developers Thailand
October 16, 2021
Technology
0
240
Pancake Swap with LINE Chatbot
LINE Developers Thailand
October 16, 2021
Tweet
Share
More Decks by LINE Developers Thailand
See All by LINE Developers Thailand
LINE API Deep Dive Q1 2025: Unlocking New Possibilities
linedevth
1
200
Welcome & Tech Vision Keynote
linedevth
0
180
Building the Future: LINE API Updates in 2024
linedevth
1
170
Revolutionizing Telepharmacy with The POWER of Gen AI and LINE API
linedevth
0
180
Seamless Inventory Management with ChatGPT and LINE SHOPPING API
linedevth
0
120
The Future of LINE Retail Chatbot using Gemini AI
linedevth
0
290
Domain Data Platform for Scalable Data Management
linedevth
0
110
Building a Fortune Teller App with OpenAI From Chatbot to Voice Assistant
linedevth
0
96
B.A.A.S - BeTask AI and Automation for SMEs
linedevth
0
86
Other Decks in Technology
See All in Technology
TechLION vol.41~MySQLユーザ会のほうから来ました / techlion41_mysql
sakaik
0
180
フィンテック養成勉強会#54
finengine
0
180
生成AI時代の開発組織・技術・プロセス 〜 ログラスの挑戦と考察 〜
itohiro73
0
150
Javaで作る RAGを活用した Q&Aアプリケーション
recruitengineers
PRO
1
110
rubygem開発で鍛える設計力
joker1007
2
200
Кто отправит outbox? Валентин Удальцов, автор канала Пых
lamodatech
0
340
Model Mondays S2E02: Model Context Protocol
nitya
0
220
Navigation3でViewModelにデータを渡す方法
mikanichinose
0
220
製造業からパッケージ製品まで、あらゆる領域をカバー!生成AIを利用したテストシナリオ生成 / 20250627 Suguru Ishii
shift_evolve
PRO
1
140
Amazon ECS & AWS Fargate 運用アーキテクチャ2025 / Amazon ECS and AWS Fargate Ops Architecture 2025
iselegant
16
5.5k
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
4
1.6k
2年でここまで成長!AWSで育てたAI Slack botの軌跡
iwamot
PRO
4
700
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Fireside Chat
paigeccino
37
3.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
210
The Invisible Side of Design
smashingmag
299
51k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
The Cult of Friendly URLs
andyhume
79
6.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
Unsuck your backbone
ammeep
671
58k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
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!