Ezerous
6 years ago
No known key found for this signature in database
GPG Key ID: 262B2954BBA319E3
4 changed files with
14 additions and
8 deletions
-
contracts/Forum.sol
-
contracts/Migrations.sol
-
package.json
-
truffle.js
|
@ -1,4 +1,4 @@ |
|
|
pragma solidity ^0.4.23; |
|
|
pragma solidity ^0.4.25; |
|
|
|
|
|
|
|
|
contract Forum { |
|
|
contract Forum { |
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
pragma solidity ^0.4.21; |
|
|
pragma solidity ^0.4.25; |
|
|
|
|
|
|
|
|
contract Migrations { |
|
|
contract Migrations { |
|
|
address public owner; |
|
|
address public owner; |
|
|
|
@ -11,8 +11,8 @@ |
|
|
"drizzle-react": "^1.1.1", |
|
|
"drizzle-react": "^1.1.1", |
|
|
"drizzle-react-components": "^1.1.0", |
|
|
"drizzle-react-components": "^1.1.0", |
|
|
"eth-block-tracker-es5": "^2.3.2", |
|
|
"eth-block-tracker-es5": "^2.3.2", |
|
|
"ipfs": "^0.28.2", |
|
|
"ipfs": "^0.30.0", |
|
|
"orbit-db": "^0.19.7", |
|
|
"orbit-db": "^0.19.9", |
|
|
"orbit-db-keystore": "^0.1.0", |
|
|
"orbit-db-keystore": "^0.1.0", |
|
|
"prop-types": "^15.6.1", |
|
|
"prop-types": "^15.6.1", |
|
|
"react": "^16.3.2", |
|
|
"react": "^16.3.2", |
|
|
|
@ -1,6 +1,7 @@ |
|
|
module.exports = { |
|
|
module.exports = { |
|
|
// See <http://truffleframework.com/docs/advanced/configuration>
|
|
|
// See <http://truffleframework.com/docs/advanced/configuration>
|
|
|
// for more about customizing your Truffle configuration!
|
|
|
// for more about customizing your Truffle configuration!
|
|
|
|
|
|
contracts_build_directory: path.join(__dirname, "src/build/contracts"), |
|
|
networks: { |
|
|
networks: { |
|
|
development: { |
|
|
development: { |
|
|
host: "localhost", |
|
|
host: "localhost", |
|
@ -8,10 +9,15 @@ module.exports = { |
|
|
network_id: "*" // Match any network id
|
|
|
network_id: "*" // Match any network id
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
solc: { |
|
|
compilers:{ |
|
|
optimizer: { |
|
|
solc: { |
|
|
enabled: true, |
|
|
version: "0.4.25", |
|
|
runs: 500 |
|
|
settings:{ |
|
|
|
|
|
optimizer: { |
|
|
|
|
|
enabled: true, |
|
|
|
|
|
runs: 500 |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|