Rangers-DeFi-Plugin-SDK

Web Component on Game Chain.

Introducing canoe resources

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

Insert canoe DEX tag in HTML

<canoe-dex
   id="[YOUR_ID]"
   token="Ethereum"
   modules="['Info', 'News', 'Social', 'Credit-Card', 'Transfer']"
></canoe-dex>

Full example code

<!DOCTYPE html>
<html lang="en">
  <head>
    <script nomodule src="https://dex.canoe.finance/build/app.js"></script>
  </head>
  <body>
    <canoe-dex
      id=[YOUR ID]
      logo="https://xxxxx.com/xxxx.png"
      name="xxxxx"
      token="BNB"
      modules="['Info', 'News', 'Social', 'Credit-Card', 'Transfer']"
    ></canoe-dex>
  </body>
</html>

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.

Request the ID through apply.

Token

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

Modules

Default Swap 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.

'CROSS, Cross-chain modular.

Last updated