waxwhales / alcor-ui

Alcor Exchange | First self-listing onchain DEX for eosio tokens;

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The first listing free decentralized exchange.

Alcor

With Alcor Exchange you can trade any EOS.IO tokens for system EOS tokens, atomically, without the participation of third parties! The tokens should comply with the standard eosio.token of the contract.

Props:

  1. Fully-onchain.
  2. NO TRADING FEES!
  3. Free CPU program.
  4. Open Source.

Join our telegram!

Chains:

  1. EOS Mainnet
  2. WAX
  3. Telos
  4. Proton
  5. BOS

Technologies:

  1. Hyperion
  2. EOSIO Light API
  3. Bloks.io

Instructions for manual use.

Open new market:

Send 3.0000 EOS to eostokensdex with memo: "new_market|0.token_precision token_symbol@token_contract"

Example memo: "new_market|0.00000000 WEED@weedcashnt"

Submit order:

Send the amount you want to sell, and specify the amount you want to get in the memo, the price and market will be automatically determined in the contract. Memo format(ask token): token_amount token_symbol@token_contract

Example: transfer "0.7000 EOS" to eostokensdex with memo "1000.0000 TKT@eossanguotkt"

Order cancelation

Call action cancelsell or cancelbuy with parameters: executor: order owner market_id: order_id:

Example

executor: avral.pro
market_id: 32
order_id: 3

Cancelbuy

Cancelsell

Orders and markets possible to see at contact tables

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ NETWORK=<eos/jungle/local> yarn run dev

# build for production and launch server
$ NETWORK=<eos/jungle/local> yarn run build
$ yarn start

# generate static project
$ yarn run generate

# Docker run:
docker run -it -p 7001:7000 --restart=unless-stopped -d --label=com.centurylinklabs.watchtower.lifecycle.post-check="rm -rf /data/nginx/cache/eostokens && service nginx reload" --label=com.centurylinklabs.watchtower.enable=true --name eostokens-ui -v /var/www/alcor.exchange/data:/app/data avral/alcor-ui

Created:

Avral's digital lab

About

Alcor Exchange | First self-listing onchain DEX for eosio tokens;


Languages

Language:HTML 78.5%Language:Vue 11.1%Language:JavaScript 8.2%Language:TypeScript 1.8%Language:SCSS 0.2%Language:CSS 0.2%Language:Dockerfile 0.0%