Sorted Token (SORT) is an ERC-20 token built on the Skale Europa DeFi blockchain, using OpenZeppelin's smart contract library.
- ERC-20 Token: A fungible token following the ERC-20 standard.
- Burnable: Token holders can burn (destroy) their tokens.
- Mintable: The owner can mint new tokens as needed.
- Permit: Implements ERC20Permit, allowing token approvals via signatures.
- Solidity: Smart contract programming language.
- Hardhat: Ethereum development environment.
- OpenZeppelin: Secure smart contract library.
- Ethers.js: Library for interacting with the Ethereum blockchain.
- TypeScript: Used for scripting and deployments.
- Node.js: Ensure Node.js is installed. You can download it from here.
- Hardhat: Used for smart contract development and deployment.
- Git: Version control system to clone and manage the project.
-
Clone the repository:
git clone https://github.com/your-username/sorted-token.git
-
Change to the project directory:
cd sorted-token -
Install the project dependencies:
npm install
By default this will deploy to test net. Please modify to deploy to main net.
- Add the private key of the deployer contract in .env:
PRIVATE_KEY=your-private-key- Ensure you have enough SFUEL in your Skale wallet. You can get it [here] (https://www.sfuelstation.com/).
To compile the contract, use Hardhat's built-in compiler:
npx hardhat compileTo deploy the contract to the Skale testnet, run the following command:
npx hardhat run scripts/deploy.ts --network skale