poanetwork / poa-popa

DApp for proof of physical address (PoPA) attestation for validators of POA Network
https://popa.poa.network
GNU General Public License v3.0
24 stars 18 forks source link

Basic setup for contracts tests #21

Closed fvictorio closed 6 years ago

fvictorio commented 6 years ago

I created a blockchain directory with a basic truffle project and moved the POPA contract there, so that it can be tested using the truffle framework. I also added a very basic test as an example.

I had to downgrade the solidity version to 0.4.18 because Truffle does not support 0.4.19 yet (see https://github.com/trufflesuite/truffle/issues/762)