Comments (8)
Really sorry about missing this. The problem is coming from the truffle.js file. It contains the following:
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*", // Match any network id
from: "0x13ba42b19c25c0f6ecb7ab1c5db8d736231ecb94"
}
}
};
Open the file, and change the from
key to your own account: [from: <your_unlocked_account>
]. Ensure you unlock the account on your node. Then migrate again.
I'll edit the README to contain this directive.
from eth-vue.
Thanks a lot !
from eth-vue.
Welcome. I appreciate your pointing this out. Thank you.
I hope no other issue will be encountered, but if you do come across any, please let me know again. Let's improve this boilerplate the best we can so others can use it with ease.
from eth-vue.
Well. Maybe on thing.
Why did you choose this boilerplate has to run on mainnet and not on a simnet like testrpc ?
When i use test rpc i can't signup or login ...
from eth-vue.
No reason actually. I just needed to use a network and MainNet came naturally.
You can undo this too, go to src/util/constants.js
and you'll see the configuration thus:
export const NETWORKS = {
'1': 'Main Net',
'2': 'Deprecated Morden test network',
'3': 'Ropsten test network',
'4': 'Rinkeby test network',
'42': 'Kovan test network',
'765': 'DanielNet test network',
'approvedBlockchainNetwork': '1'
}
Change the value of approvedBlockchainNetwork
to the ID of your network of choice.
If your network of choice is not included in the list, you can add it using the pattern you see in the file:
[<networkId>: <networkName>]
Then change the value of approvedBlockchainNetwork
to the id of your network.
Please ignore the DanielNet test network
with id 765. That's my private blockchain network.
These will make up the update of the README. I'm already on it.
Just curious, was your migration successful?
from eth-vue.
Yes. The migration was great. And thanks again for your answer. I go back to you if I have any more questions :)
from eth-vue.
The README.md, constants.js, and truffle.js files have been updated based on this issue.
Find updates at https://github.com/DOkwufulueze/eth-vue/tree/v2.1.0
from eth-vue.
Closing this issue as it seems inactive.
from eth-vue.
Related Issues (19)
- GNU GPL-3.0 HOT 1
- Compilation failed HOT 3
- What is an "unlocked account" in truffle.js? HOT 2
- Errors with Smartcontracts compilation HOT 3
- truffle unbox issue HOT 3
- Development issue HOT 3
- UnhandledPromiseRejectionWarning HOT 3
- Too much errors while compiling HOT 3
- Migrations Issue HOT 4
- Network config for Truffle / Ganache HOT 4
- getWeb3.js read properth 'isListening' of undefined HOT 3
- Scrypt: the request of a dependency is an expression HOT 2
- Connecting to other networks HOT 1
- Vue Devtool HOT 1
- What about vue3js in vite HOT 1
- Insert your unlocked account within the double-quotes of the from key HOT 3
- How to integrate with ERC20 token HOT 4
- Deployment issues HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eth-vue.