https://github.com/b0xtch/contraect
ERC20 token contract
https://github.com/b0xtch/contraect
Last synced: 15 days ago
JSON representation
ERC20 token contract
- Host: GitHub
- URL: https://github.com/b0xtch/contraect
- Owner: b0xtch
- License: mit
- Created: 2017-07-17T08:56:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-15T11:39:06.000Z (almost 9 years ago)
- Last Synced: 2025-12-26T03:59:43.820Z (6 months ago)
- Language: JavaScript
- Size: 181 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Token deployment and bulk transfer
Have the Parity Signer ready to be used, at http://127.0.0.1:8180.
## Deploy the AEToken contract
```bash
## Compile the contracts in `./contracts/*.sol`
$> node compile.js
## Deploy the AEToken contract
$> node deploy.js
```
This will print the deployed contract address. Please write it down,
it will be asked for the bulk transfers and verification.
## Bulk Transfer Tokens
```bash
## Generate the BulkTransfer contract from the
## data in `./data.csv`
$> node generator.js > contracts/bulk-token-transfer.sol
## Compile the contracts in `./contracts/*.sol`
$> node compile.js
## Execute the bulk transfer
$> node bulk-transfer.js
```
## Verify the data
```bash
## Verify the data in `./data.csv` against the
## contract on the blockchain
$> node verify.js
```
## Verify the contract on Etherscan
You can verify the contract on Etherescan by choosing the right
Solidity version that is in `build/<...>.json`, in the metadata
field.
Imports won't work so instead of imports just copy paste the content
of the imported file.