GithubHelp home page GithubHelp logo

degenstore's Introduction

Project Title

DegenStore

Description

DegenStore is an ERC20 token smart contract with extra functionality deployed on the Avalanche network for Degen Gaming. The smart contract have the following functionality:

Minting new tokens: The platform should be able to create new tokens and distribute them to players as rewards. Only the owner can mint tokens. Transferring tokens: Players should be able to transfer their tokens to others. Redeeming tokens: Players should be able to redeem their tokens for items in the in-game store. Checking token balance: Players should be able to check their token balance at any time. Burning tokens: Anyone should be able to burn tokens, that they own, that are no longer needed.

  • ERC-20 Details:
    • Symbol: DGN
    • Name: Degen
    • Decimals: 18

Getting Started

  • Proficiency in Hardhat: It is essential to have a good grasp of using Hardhat, a development environment designed for writing, testing, and deploying smart contracts.
  • Understanding of Solidity: It is important to have a strong understanding of Solidity as it is the main programming language used for creating smart contracts in this codebase.
  • Command line proficiency: Basic familiarity with using command line tools such as the terminal or Command Prompt is necessary for running commands and scripts.

Installing

  • A text editor: For running the code Visual Studio Code.
  • You will need to have Node.js installed on your system, with version V10. or higher.
  • Node Package Manager npm used for installing and managing dependencies.
  • run this command in your terminal git clone https://github.com/devabiodun/degenstore to clone this repository

Executing program

After cloning the github, you will want to do the following to get the code running on your computer.

  1. cd to the project directory, in the terminal type: npm i
  2. In the terminal type: npx hardhat node
  3. Open a second terminal
  4. In the second terminal, type: npx hardhat run --network localhost scripts/deploy.ts to deploy the token.
  5. You can also run the test.ts file, type npx hardhat run --network localhost scripts/test.ts to see the how each function works

Help

Any advise for common problems or issues. hardhat tutorial

Guide

Degen store deployed to fuji "0xE32B27CC965B88fCdF5325df57d2D18387126e46" link

Authors

@Abiodun

License

This project is licensed under the [ABIODUN] License.

degenstore's People

Watchers

Abiodun Awoyemi 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.