Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```