Skip to content

satoshipay/amm-poc

Repository files navigation

Automated Market Maker - Proof of Concept

Primitive prototype of an AMM for Stellar built using Turing Signing Servers.

Usage

Known issues

👉 Known issues

Build

# Production build
npm run build

# Development build
npm run build:dev

Run locally

Make sure you have built the latest version of the contract. Run a small local test server with a simple API that allows invoking the contract as if this server was a TSS signing server with the deployed contract.

npm run test-server

Execute the contract via

curl -X POST http://localhost:3001/contract/test -H 'Content-Type: application/json' --data '{"action":"trade", …}'

Launch the web UI via

cd web
npm start

About

Proof of Concept Automated Market Maker on TSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published