Skip to content

tauseedzaman/Pay-It-Forward-Token

Repository files navigation

Pay It Forward (PIF) Token

Our-Native-Token-Logo

The Pay It Forward (PIF) Token is an ERC20 token designed for the platform thebenefactor.net. This smart contract allows users to perform transactions with built-in buy/sell fees that are redistributed based on defined allocations for platform rewards and operating expenses. Utilizing OpenZeppelin libraries, it ensures security and reliability.

Features

  • ERC20 Standard: Complies with the ERC20 token standard for interoperability.
  • Pausable: Allows the contract owner to pause all transfers in case of emergencies.
  • Buy/Sell Fees: Implements a fee structure on transactions involving liquidity pairs, enhancing platform sustainability.
  • Ownership Management: Two-step ownership transfer process for added security.
  • Fee Redistribution: Accumulated fees can be redistributed to the platform.

Links

Contract Details

  • Token Name: Pay It Forward
  • Symbol: PIF
  • Initial Supply: 500,000,000 PIF (500 million tokens)
  • Buy/Sell Fee: 3% (300 basis points, adjustable)

Installation

To set up this contract, clone the repo and make sure to install Foundry and the required dependencies.

  1. Install Foundry:

    curl -L https://foundry.paradigm.xyz | bash
    foundryup
  2. Install OpenZeppelin Contracts:

    forge install OpenZeppelin/openzeppelin-contracts

Usage

After installing the dependencies, you can compile and deploy the PIF token contract using Foundry commands.

  • Compile:

    forge build
  • Deploy:

    forge create src/PIFToken.sol:PIFToken

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Pay It Forward (PIF) Token contract

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published