matthamoros / ethertrack Goto Github PK
View Code? Open in Web Editor NEWTraceability system based on Ethereum Blockchain
License: MIT License
Traceability system based on Ethereum Blockchain
License: MIT License
Hi all,
I had compile the contracts without error, however when migrate the following error appear?
~/EtherTrack/Truffle-project$ sudo truffle migrate
Warning: Both truffle-config.js and truffle.js were found. Using truffle-config.js.
Everything is up to date, there is nothing to compile.
Warning: Both truffle-config.js and truffle.js were found. Using truffle-config.js.
Warning: Both truffle-config.js and truffle.js were found. Using truffle-config.js.
Network name: 'development'
Network id: 123456
Block gas limit: 0x7a1200
transaction hash: 0x85595dfc88ce5439193331d5e517d75c831763fa3543c935620714c7b7a09bfc
Blocks: 0 Seconds: 36
contract address: 0x6bFcEe4E364161eee217EB2dF9967C5f7Ae1e3A4
block number: 10907
block timestamp: 1556817362
account: 0x51E37247B26E1d29eaAC8E550a6b2124F11B0061
balance: 53694.00220492
gas used: 269543
gas price: 20 gwei
value sent: 0 ETH
total cost: 0.00539086 ETH
Saving migration to chain.
Saving artifacts
Total cost: 0.00539086 ETH
transaction hash: 0x595f7180b00e9cde2180d46b804e3a45299afc4f4bf3327acd62c61da4b42d38
Blocks: 0 Seconds: 28
contract address: 0xc1F65776Cf4A22b3Aa92D609EA37e042998eFCc3
block number: 10909
block timestamp: 1556817410
account: 0x51E37247B26E1d29eaAC8E550a6b2124F11B0061
balance: 53704.00220492
gas used: 200906
gas price: 20 gwei
value sent: 0 ETH
total cost: 0.00401812 ETH
transaction hash: 0x7555170c36b992e815e74919dc597c2e9405c3d0cf68c3dc888cdb9e7635867d
Blocks: 0 Seconds: 4
contract address: 0x214728d177307300C8911254023C0BCF64cea224
block number: 10910
block timestamp: 1556817441
account: 0x51E37247B26E1d29eaAC8E550a6b2124F11B0061
balance: 53714.00220492
gas used: 200267
gas price: 20 gwei
value sent: 0 ETH
total cost: 0.00400534 ETH
Saving migration to chain.
Saving artifacts
Total cost: 0.00802346 ETH
transaction hash: 0x92b2f3be6bc00c813cb335dc35c796ad5f9ea075ab560852524ad637adc66d7d
Blocks: 0 Seconds: 4
contract address: 0xA48BFdf47C645638b79a9CfB88635fabcEC2e3d4
block number: 10914
block timestamp: 1556817463
account: 0x51E37247B26E1d29eaAC8E550a6b2124F11B0061
balance: 53729.00220492
gas used: 200906
gas price: 20 gwei
value sent: 0 ETH
total cost: 0.00401812 ETH
transaction hash: 0x26533a41e74782a2d227a794f9ed3ba13fcd3549d1d0890b2e294d07af963b27
Blocks: 0 Seconds: 4
contract address: 0x2d27433e38a4A3856dE73b2aB51858938329c746
block number: 10915
block timestamp: 1556817472
account: 0x51E37247B26E1d29eaAC8E550a6b2124F11B0061
balance: 53734.00220492
gas used: 200267
gas price: 20 gwei
value sent: 0 ETH
total cost: 0.00400534 ETH
Saving migration to chain.
Saving artifacts
Total cost: 0.00802346 ETH
Error: *** Deployment Failed ***
"EtherTrackNS" -- invalid address (arg="parent", coderType="address", value="").
at /usr/lib/node_modules/truffle/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
at processTicksAndRejections (internal/process/task_queues.js:88:5)
Truffle v5.0.14 (core: 5.0.14)
Node v12.0.0
Because transactions logs are public, everyone get access to my stock.
Could you implement some kind of protected access ?
Dannys-Air:EtherTrack dannyng$ sudo truffle compile
✖ Fetching solc version list from solc-bin. Attempt #1
✖ Fetching solc version list from solc-bin. Attempt #2
✖ Fetching solc version list from solc-bin. Attempt #3
Error: Could not find a compiler version matching 0.5.16. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run truffle compile --list
to see available versions.
at VersionRange.errors (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/compilerSupplier/loadingStrategies/LoadingStrategy.js:66:1)
at VersionRange.getSatisfyingVersionFromCache (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/compilerSupplier/loadingStrategies/VersionRange.js:81:1)
at VersionRange.load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/compilerSupplier/loadingStrategies/VersionRange.js:197:1)
Truffle v5.1.46 (core: 5.1.46)
Node v12.13.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.