Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pancake Swap with LINE Chatbot
Search
LINE Developers Thailand
October 16, 2021
Technology
270
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
The Human Advantage: Outperform The Algorithm
linedevth
0
98
The Scale Saga: From Specs to 10x Engineering
linedevth
0
65
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
220
Beyond the Bottleneck: Infra for What's Next
linedevth
0
64
Harness & Loop Engineering: How We Let AI Agents Build Production Code Safely, Fast, and On Repeat
linedevth
0
150
Turning LINE Conversations into AI-Powered Workflows
linedevth
0
59
How to teach your AI Agent with Agent skills
linedevth
1
240
Reinventing Motor Insurance with AI Agent by AXA and ZWIZ.AI
linedevth
0
53
AI Infrastructure at Speed: Governance Without the Drag
linedevth
0
76
Other Decks in Technology
See All in Technology
Shared Signals Framework 仕様解説
oidfj
0
290
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
530
2026 Apache Flink Community Checkpoint
rmetzger
0
200
An Introduction to Context Ontology Accelerator (teaching AI agents what your data means)
inariku
PRO
1
180
詳解 never 型 - ボトム型の性質を深掘り
nealle
0
160
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
300
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
200
JAWSコミュニティに 参加して1年経った結果
ssakita
0
120
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
5
310
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.2k
生成AI時代のIAMのマニアックな話
takuros
6
2.8k
AI Agent 時代のデータ基盤: ClickHouse で実現する 超高速分析とコスト削減の両立
jozono
0
220
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
How GitHub (no longer) Works
holman
316
150k
A Modern Web Designer's Workflow
chriscoyier
699
190k
The untapped power of vector embeddings
frankvandijk
2
2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Speed Design
sergeychernyshev
33
2.2k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
The Cult of Friendly URLs
andyhume
79
7.1k
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!