Giter VIP home page Giter VIP logo

rise-in-solidity-bnb-chain-development-bootcamp-final-project's Introduction

Hardhat Smart Contract Project for Rise In

This project is a final case project for Rise In Solidity & BNB Chain Development Bootcamp.

Table of Contents

Overview

The Smart Transfer DApp provides to the users can be transfer their balances to the other users, lock and unlock their balances, get reward from contract. You can analyze contract on BSC Testnet: https://testnet.bscscan.com/address/0xba8D43495B3e7c7FD7FBb131336d2d1531b5F1ab#code

Features

  • Buy token from contract.
  • Transfer the tokens to the other users.
  • Lock and unlock your tokens.
  • Get your rewards which calculated by time when you unlock your locked balances.
  • Sell tokens to the contract and get paid.
  • Ethereum Wallet Integration: Connect your Ethereum wallet (e.g., MetaMask) to participate directly.

Getting Started

Follow these steps to set up the project locally and start participating in web3 auctions.

Prerequisites

  1. Node.js: Ensure Node.js is installed. Download it from nodejs.org.

Installation

  1. Clone the repository:
  git clone https://github.com/melihgunduz/rise-in-solidity-bnb-chain-development-bootcamp-final-project.git
  1. Navigate to the project directory:
  cd rise-in-solidity-bnb-chain-development-bootcamp-final-project
  1. Install required npm packages:
 npm install
  1. Create secrets.json at root of the project:
    
  {
    "MNEMONIC": "your 12-word seed phrase",
    "BSCAPIKEY": "bscscanApiKey"
  }

Testing

Smart contract tests are located in the test folder. These tests ensure the correct functioning of the smart contract. To run the tests, follow these steps:

  1. Open a terminal in the project directory.
  2. Run the following command to execute the tests:
npx hardhat test ./test/SmartTransfer.ts

or

npx hardhat test ./test/YourTestScript

This command will initiate the smart contract tests and display the results in the terminal.

image

Contributing

Contributions to this project are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature/bug fix.
  3. Make changes and test thoroughly.
  4. Commit with clear and concise messages.
  5. Push changes to your fork.
  6. Submit a pull request describing your changes.

License

This project is licensed under the MIT License.

rise-in-solidity-bnb-chain-development-bootcamp-final-project's People

Contributors

melihgunduz avatar

Stargazers

jist avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.