Giter Site home page Giter Site logo

Comments (8)

DOkwufulueze avatar DOkwufulueze commented on May 22, 2024

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.

osarrouy avatar osarrouy commented on May 22, 2024

Thanks a lot !

from eth-vue.

DOkwufulueze avatar DOkwufulueze commented on May 22, 2024

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.

osarrouy avatar osarrouy commented on May 22, 2024

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.

DOkwufulueze avatar DOkwufulueze commented on May 22, 2024

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.

osarrouy avatar osarrouy commented on May 22, 2024

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.

DOkwufulueze avatar DOkwufulueze commented on May 22, 2024

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.

DOkwufulueze avatar DOkwufulueze commented on May 22, 2024

Closing this issue as it seems inactive.

from eth-vue.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.