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
250
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
Unlocking the Power of AI Agents with LINE Bot MCP Server
linedevth
0
110
No REST No Stress! Connect LINE SHOPPING with MCP
linedevth
0
24
Build & Ship LINE MINI App with MINI AI Studio
linedevth
0
33
Scouter: Unleashing the True Power Level of Web Performance
linedevth
0
18
Spec > Spell: Write It Clearly, and Let AI Do the Magic
linedevth
0
33
ArgoCD: Deploy with confidence, conquer YAML mysteries
linedevth
0
29
LINE Group Bot by Zwiz.AI
linedevth
0
33
Next-Gen Retail: LINE MINI App with AI Location Intelligence
linedevth
0
29
TicketO: Reinventing the event experience with AI on MINI App
linedevth
0
65
Other Decks in Technology
See All in Technology
テストを軸にした生き残り術
kworkdev
PRO
0
210
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
260
人工衛星のファームウェアをRustで書く理由
koba789
15
8.2k
20250910_障害注入から効率的復旧へ_カオスエンジニアリング_生成AIで考えるAWS障害対応.pdf
sh_fk2
3
270
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
240
💡Ruby 川辺で灯すPicoRubyからの光
bash0c7
0
120
slog.Handlerのよくある実装ミス
sakiengineer
4
440
Webアプリケーションにオブザーバビリティを実装するRust入門ガイド
nwiizo
7
870
dbt開発 with Claude Codeのためのガードレール設計
10xinc
2
1.3k
プラットフォーム転換期におけるGitHub Copilot活用〜Coding agentがそれを加速するか〜 / Leveraging GitHub Copilot During Platform Transition Periods
aeonpeople
1
220
AWSで始める実践Dagster入門
kitagawaz
1
720
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
490
Featured
See All Featured
Thoughts on Productivity
jonyablonski
70
4.8k
Rails Girls Zürich Keynote
gr2m
95
14k
How to Ace a Technical Interview
jacobian
279
23k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
The Language of Interfaces
destraynor
161
25k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Unsuck your backbone
ammeep
671
58k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Automating Front-end Workflow
addyosmani
1370
200k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
BBQ
matthewcrist
89
9.8k
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!