Skip to content

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

Notifications You must be signed in to change notification settings

realnimish/polkadot-amm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial Link: Create an AMM on Polkadot using Ink!

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.

About

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

Topics

Resources

Stars

Watchers

Forks