polkadot-amm

所属分类:DeFi
开发工具:JavaScript
文件大小:4745KB
下载次数:0
上传日期:2022-05-29 16:10:59
上 传 者sh-1993
说明:  这是一款使用墨水构建的自动化做市商dApp!语言并部署在Jupiter A1测试网上。指导教程...
(It is an Automated Market Maker dApp built using ink! Language and deployed on Jupiter A1 testnet. A guided tutorial is made available for web3 learners)

文件列表:
contract (0, 2021-12-16)
contract\Cargo.toml (1140, 2021-12-16)
contract\artifacts (0, 2021-12-16)
contract\artifacts\amm.contract (64652, 2021-12-16)
contract\artifacts\amm.wasm (26521, 2021-12-16)
contract\artifacts\metadata.json (31255, 2021-12-16)
contract\lib.rs (18297, 2021-12-16)
package-lock.json (685397, 2021-12-16)
package.json (998, 2021-12-16)
public (0, 2021-12-16)
public\chain-visibility.png (72553, 2021-12-16)
public\contract-address.png (124879, 2021-12-16)
public\demo.gif (7734837, 2021-12-16)
public\deploy1.png (64732, 2021-12-16)
public\deploy2.png (47786, 2021-12-16)
public\index.html (495, 2021-12-16)
public\polkadot-js.png (183184, 2021-12-16)
src (0, 2021-12-16)
src\App.js (2570, 2021-12-16)
src\components (0, 2021-12-16)
src\components\AccountComponent.jsx (5907, 2021-12-16)
src\components\BoxTemplate.jsx (888, 2021-12-16)
src\components\ContainerComponent.jsx (5776, 2021-12-16)
src\components\FaucetComponent.jsx (2081, 2021-12-16)
src\components\ProvideComponent.jsx (5451, 2021-12-16)
src\components\SwapComponent.jsx (9334, 2021-12-16)
src\components\WithdrawComponent.jsx (4510, 2021-12-16)
src\constants.js (20661, 2021-12-16)
src\index.js (168, 2021-12-16)
src\styles.css (11815, 2021-12-16)
tutorial.md (34229, 2021-12-16)
yarn.lock (548326, 2021-12-16)

**Tutorial Link:** [Create an AMM on Polkadot using Ink!](https://github.com/realnimish/polkadot-amm/blob/master/tutorial.md) **Description:** The tutorial will guide the developers to build an Automated Market Maker (AMM) dApp on a substrate-based chain with contract-pallet support. It will explain the internal working of an AMM and how to develop one using ink!, a Rust-based embedded Domain Specific Language (eDSL), and deploy it on a public testnet (Jupiter A1 of Patract) using https://polkadot.js.org/apps. It will also illustrate how to integrate the smart contract with a react application using polkadot.js module and polkadot{.js} browser extension. The AMM will have the following features: Provide, Withdraw and Swap. It will also support trading fees to incentivize liquidity providers to add liquidity and slippage tolerance to protect traders from market fluctuation. To keep things simple, The AMM doesn't implement routing and, hence it will deal with only two tokens at a time. The AMM will maintain its own internal mapping that stores the balance of accounts instead of dealing with the external tokens.

近期下载者

相关文件


收藏者