Canoe Finance
Search…
Canoe SDK 1.0

Introducing canoe resources

1
<script type="module" src="https://dex.canoe.finance/build/app.esm.js"></script>
2
<script nomodule src="https://dex.canoe.finance/build/app.js"></script>
Copied!

Insert canoe DEX tag in HTML

1
<canoe-dex
2
id="[YOUR_ID]"
3
token="Ethereum"
4
modules="['Info', 'News', 'Social', 'Credit-Card', 'Transfer']"
5
></canoe-dex>
Copied!

Full example code

1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<script type="module" src="https://dex.canoe.finance/build/app.esm.js"></script>
5
<script nomodule src="https://dex.canoe.finance/build/app.js"></script>
6
</head>
7
<body>
8
<canoe-dex
9
id="[YOUR_ID]"
10
token="Ethereum"
11
modules="['Info', 'News', 'Social', 'Credit-Card', 'Transfer']"
12
></canoe-dex>
13
</body>
14
</html>
Copied!

Get the ID from Request.

First, you need to apply for id, It will be related to your profit sharing ratio. If it is not filled in, it will be transferred to canoe Treasury by default.

Token

Token name of thumbnail, It will show price, rise and simple K-chart.
Key info of toolkit

Modules

Default Modular configuration.
Optional Modular para: modules="['Info', 'News', 'Social', 'Credit-Card', 'Transfer']"
The module introduction can be seen in Canoe Toolkit 1.0.
'Info', Project info modular.
'News', News modular.
'Social' , Social media modular.
'Credit-Card', Credit card modular.
'Transfer', Cross-chain modular.