Add very initial version of smart contracts with tests

This commit is contained in:
arnaucube
2020-05-09 19:01:41 +02:00
parent 7f7ba4f7cb
commit e0dfc2ab6c
16 changed files with 537 additions and 27 deletions

23
truffle-config.js Normal file
View File

@@ -0,0 +1,23 @@
/*
* NB: since truffle-hdwallet-provider 0.0.5 you must wrap HDWallet providers in a
* function when declaring them. Failure to do so will cause commands to hang. ex:
* ```
* mainnet: {
* provider: function() {
* return new HDWalletProvider(mnemonic, 'https://mainnet.infura.io/<infura-key>')
* },
* network_id: '1',
* gas: 4500000,
* gasPrice: 10000000000,
* },
*/
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
compilers: {
solc: {
version: "0.6.0"
}
}
};