Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phantasma-io/phantasmaethereum
Smart contracts for interopability with Ethereum
https://github.com/phantasma-io/phantasmaethereum
Last synced: about 2 months ago
JSON representation
Smart contracts for interopability with Ethereum
- Host: GitHub
- URL: https://github.com/phantasma-io/phantasmaethereum
- Owner: phantasma-io
- License: apache-2.0
- Created: 2024-03-11T11:34:01.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-03-11T11:34:16.000Z (10 months ago)
- Last Synced: 2024-05-01T00:44:45.852Z (8 months ago)
- Language: JavaScript
- Size: 799 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phantasma ERC20/BEP20
## Audit
https://www.certik.com/projects/ghostmarket
## Technical Information
Upgradable ERC20 Contract.
Using OpenZeppelin contracts.### Compiling contracts
```
truffle compile --all
```### Deploying Proxy
Using Truffle to deploying Proxy
```
contracts/Migrations.sol
```
Contracts can be deployed with
```
truffle deploy --network
```
For local deployment ganache must be started and private keys saved into```
.secrets.json
```local deployment:
```
truffle deploy --network development
```testnet deployment:
```
truffle deploy --network
```mainnet deployment:
```
truffle deploy --network
```## Testing
tests can be run with:
local deployment:
```
truffle test --network development
```testnet deployment:
```
truffle test --network
```## Verify
```
truffle run verify PhantasmaToken@ --network
```