reedhong / fomo3d_clone Goto Github PK
View Code? Open in Web Editor NEWclone fomo3d contract source
clone fomo3d contract source
$ truffle migrate
Compiling .\contracts\F3DexternalSettings.sol...
Using network 'development'.
Error: Could not find built Migrations contract: Could not find artifacts for Migrations from any sources
at Object.lastCompletedMigration (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-migrate\index.js:250:1)
at Object.needsMigrating (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-migrate\index.js:277:1)
at runMigrations (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-core\lib\commands\migrate.js:75:1)
at C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-core\lib\commands\migrate.js:107:1
at C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-core\lib\environment.js:71:1
at C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~\web3\lib\web3\property.js:119:1
at C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~\web3\lib\web3\requestmanager.js:89:1
at C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-provider\wrapper.js:134:1
at XMLHttpRequest.request.onreadystatechange (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~\web3\lib\web3\httpprovider.js:128:1)
at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~\xhr2\lib\xhr2.js:64:1)
at XMLHttpRequest._setReadyState (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~\xhr2\lib\xhr2.js:354:1)
at XMLHttpRequest._onHttpResponseEnd (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~\xhr2\lib\xhr2.js:509:1)
at IncomingMessage.<anonymous> (C:\Users\wyndam\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~\xhr2\lib\xhr2.js:469:1)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1081:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 7545,
network_id: "*" // Match any network id
},
develop: {
host: "127.0.0.1",
port: 7545,
network_id: "*" // Match any network id
},
// test: {
// host: "127.0.0.1",
// port: 7545,
// network_id: "*" // Match any network id
// },
// mine: {
// host: "127.0.0.1",
// port: 8545,
// network_id: "*", // Match any network id
// gas: 4712382
// },
// ropsten: {
// network_id: 3,
// host: "localhost",
// port: 8545,
// gas: 4700000
// }
}
};
能deploy到kovan
可是永遠買key都失敗 metamask會提示contract有exveption 請問應如何解決? 照付錢的話會被reverted 掉
是gas limit gas price的問題嗎?
感謝
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.