Skip to content

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

Notifications You must be signed in to change notification settings

NazikM/alcor-ui

 
 

Repository files navigation

Project is Hiring Full-Stack Dev NOW! Good payment in cryptocurrency! Contact: @avral

The first listing free decentralized exchange.

Documentation: docs.alcor.exchange

Alcor Exchange

With Alcor Exchange you can trade any EOS.IO tokens for system EOS tokens, atomically, without the participation of third parties! The token's contract should comply with the eosio.token standard or be a Simple Assets fungible token.

Props:

  1. Fully on-chain.
  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 -d --restart=unless-stopped -p 127.0.0.1:27017:27017 --name mongo -m=3g mongo:4.4 --bind_ip 0.0.0.0

docker run -it -p 7002: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 alcor-ui --add-host=host.docker.internal:172.17.0.9 avral/alcor-ui

Created:

Avral's digital lab

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 67.2%
  • Vue 20.0%
  • JavaScript 10.1%
  • TypeScript 2.0%
  • SCSS 0.6%
  • CSS 0.1%