alejoacosta74
token-swap-exchange
JavaScript

PoC for a token swap exchange application (Dapp) over Ethereum.

Last updated Jun 12, 2026
132
Stars
11
Forks
0
Issues
0
Stars/day
Attention Score
79
Language breakdown
JavaScript 66.5%
Solidity 26.4%
CSS 3.8%
HTML 3.4%
Files click to expand
README

Project ETH-ARG swap (deployed in Kovan)

built-with openzeppelin

NodeJS

React

Mocha

Google Cloud

1. About

This project implements a PoC for a token swap exchange application (Dapp) over Ethereum.

Final project demo web App can be seen here: http://34.69.122.108/token-swap/

2. Main features

  • Two smart contracts written in Solidity:
-> ARG (ERC20) token contract

-> EthSwap exchange contract

  • Fronted built with React.js
  • Deployment to Kovan test network
  • Integration to Ethereum via web3, MetaMask and infura.io
  • Secrets and addresses handled by @truffle/hdwallet-provider
  • Web3 events are subscribed via infura wss API

3. Pre requisites

In order to deploy this project as detailed above, the following pre requisites are required:

  • Available API project KEY from infura.io on KOVAN endpoint
  • Kovan Ether tokens holder account (may be requested via this faucet: )
  • Metamask enabled on browser

4. Framework and dependencies

  • Source code language: Solidity
  • Development environment: Node.js / NPM / Truffle / DotEnv / Truffle-hdwallet / React.js
  • Ethereum client:
  • MetaMask Wallet

5. Usage

$ git clone https://github.com/alejoacosta74/token-swap-exchange.git token-swap-exchange
$ cd token-swap-exchange

install truffle (if not installed)

$ npm install -g truffle

install dependencies

$ npm install $ truffle init $ truffle compile

deploy smart contracts to Kovan

$ truffle migrate --network kovan

start local development React server

$ npm start

6. Access Dapp and deployed contracts

  • Deployed contracts
This project is deployed at Kovan at the following addresses:

ARG token: 0x72B64B69315e6de186aD2C450781b408aACDbdcB

EthSwap contract: 0x36D66f8fC414c7c96C9d5d9526c4440D5185578d

  • Accesing the Dapp
Visit: http://34.69.122.108/token-swap/
  • Dapp screen shots
Buy

Buy

Sell

Sell

© 2026 GitRepoTrend · alejoacosta74/token-swap-exchange · Updated daily from GitHub