8000 GitHub - TheOnma/MyToken
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TheOnma/MyToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certainly! Here's the complete README.md in a single Markdown block:

# MyToken

MyToken is an ERC20-compliant token built using Solidity and OpenZeppelin libraries. This project includes smart contract deployment scripts and a suite of tests to ensure the functionality of the token.

## Requirements

- [Foundry](https://getfoundry.sh/) for building, testing, and deploying smart contracts.
- [Node.js](https://nodejs.org/) for managing JavaScript dependencies (if needed).
- [Git](https://git-scm.com/) for version control.

## Installation

1. **Clone the repository:**

   ```bash
   git clone <repository-url>
   cd MyToken
  1. Install dependencies:

    forge install

Usage

Compile the Contracts

To compile the Solidity contracts, run:

forge build

Run Tests

To run the test suite:

forge test

Deploy the Contract

Local Deployment

To deploy the contract locally using Anvil:

  1. Start Anvil in one terminal:

    anvil
  2. Deploy the contract in another terminal:

    make deploy

Sepolia Testnet Deployment

To deploy on the Sepolia testnet, ensure you have the following environment variables set: SEPOLIA_RPC_URL, ACCOUNT, SENDER, ETHERSCAN_API_KEY.

Then run:

make deploy-sepolia

License

This project is licensed under the MIT License.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0