Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tauseedzaman/pay-it-forward-token

Pay It Forward (PIF) Token contract
https://github.com/tauseedzaman/pay-it-forward-token

crypto-token erc20 pay-it-forward pif pif-token

Last synced: 17 days ago
JSON representation

Pay It Forward (PIF) Token contract

Awesome Lists containing this project

README

        

# Pay It Forward (PIF) Token
![Our-Native-Token-Logo](https://github.com/user-attachments/assets/f14ce944-a036-4cf3-9506-6bf72eb8f0c5)

The Pay It Forward (PIF) Token is an ERC20 token designed for the platform [thebenefactor.net](https://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

- **BscScan**: [View Contract on BscScan](https://bscscan.com/token/0x26dc7dd2a1c9a1f6da9cb992321f80fc91d73d3e)

## 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](https://github.com/foundry-rs/foundry) and the required dependencies.

1. Install Foundry:
```bash
curl -L https://foundry.paradigm.xyz | bash
foundryup
```

2. Install OpenZeppelin Contracts:
```bash
forge install OpenZeppelin/openzeppelin-contracts
```

## Usage

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

- **Compile**:
```bash
forge build
```

- **Deploy**:
```bash
forge create src/PIFToken.sol:PIFToken
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.