2.5.0 • Published 2 years ago

wban-smart-contract v2.5.0

Weekly downloads
21
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

wBAN -- Wrapped Banano

This projet is part of a bigger one allowing to swap Banano crypto to wBAN (Wrapped Banano) on Binance Smart Chain, and vice-versa.

wBAN is implemented as a BEP20 token.

This repository contains both the smart-contract code as well as the frontend.

Setup

Wallet setup

Copy the .env.default file as a .env file.

In the .env file change the mnemonic and write the one you are using with Metamask.

Next add a custom network in Metamask defined like this: Metamask setup for Hardhat

Start development node

Install all the project dependencies: yarn install.

Simply running yarn node:watch will compile and deploy the smart-contract on a Hardhat EVM.

Every time the source code of the smart-contract is changed, it is redeployed on this EVM.

Start frontend

In the frontend directory, install all the frontend dependencies: yarn install.

Then run yarn serve.

After frontend compilation, the dApp should be available at: http://localhost:8080.

Deployment Instructions

  • Testnet: yarn deploy:testnet
2.5.0

2 years ago

2.2.0

2 years ago

2.1.5

2 years ago

1.0.2

3 years ago

0.6.0

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago