https://github.com/pushchain/push-smart-contracts-genesis
$PUSH Token + Vesting Smart Contracts
https://github.com/pushchain/push-smart-contracts-genesis
smart-contract token vesting
Last synced: 8 months ago
JSON representation
$PUSH Token + Vesting Smart Contracts
- Host: GitHub
- URL: https://github.com/pushchain/push-smart-contracts-genesis
- Owner: pushchain
- Created: 2020-09-13T18:04:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-27T15:17:34.000Z (about 2 years ago)
- Last Synced: 2025-07-30T21:29:53.195Z (11 months ago)
- Topics: smart-contract, token, vesting
- Language: JavaScript
- Homepage:
- Size: 6.92 MB
- Stars: 20
- Watchers: 7
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Audit: audit/EPNS-release-Audit.pdf
Awesome Lists containing this project
README
# Push Protocol (EPNS)
## PUSH Tokens and Time Vesting Smart Contracts
[](https://travis-ci.com/ethereum-push-notification-service/epns-smart-contracts-staging)
The repo contains smart contracts that form the **$PUSH** token functionality and all the vesting contracts functionality including their test cases.
## Setup
- Clone repo
- Run **npm install**
- Run **npm start** first to setup **environment variables**
- Run **hardhat** functions
- Read more about Hardhat here: https://hardhat.org/
### Initial Setup Example
```sh
npm install
npm start
npx hardhat [operations]
```
## Compiling
For compiling the smart contracts placed under contracts
```sh
npx hardhat compile
```
## Testing
The test folder contains various test cases in different test files.
### Run Entire Testcases
```sh
npx hardhat test
```
### Run Specific Testcases
```sh
npx hardhat test ./test/token/EPNS.NonERC20.test
npx hardhat test ./test/token/EPNS.StandardERC20.test
```
## Deploy
To deploy smart contracts on a selected network
### Deploy on the default network
```sh
npx hardhat run scripts/deploy.js
```
### Deploy on different network
```sh
npx hardhat run scripts/deploy.js --network ropsten
```