Primitive prototype of an AMM for Stellar built using Turing Signing Servers.
# Production build
npm run build
# Development build
npm run build:dev
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