Skip to content

stake-sinatra/Ethereum-Max-Contracts

 
 

Repository files navigation

Ethereum Max

commands

npx truffle compile will compile scripts

npx truffle migrate will do a deployment, but get ganache running locally! I got it working with the windows app, not on the linux subsystem btw.

if you get the error: Error: Artifacts are from different compiler runs do not believe their lies about --all, instead, run:

rm -r build && npx truffle compile unless that doesn't work then use --all as recommeneded.

https://docs.openzeppelin.com/upgrades-plugins/1.x/proxies#transparent-proxies-and-function-clashes to explain the 4 contracts, 'TransparentUpgradeableProxy'

to deploy to ropsten: truffle deploy --network ropsten

to deploy to mainnet: npx truffle compile --all && npx truffle deploy --network mainnet

to run tests

  1. launch ganache
  2. npx truffle test

About

Contracts for the eMax token on Ethereum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 79.1%
  • JavaScript 20.9%