Author Topic: Building lite wallet  (Read 2886 times)

0 Members and 1 Guest are viewing this topic.

Offline cass

  • Hero Member
  • *****
  • Posts: 4311
  • /(┬.┬)\
    • View Profile
Ok, so I've made some changes to the web wallet which look good, but now I want to build the lite wallet with my changes, so I can hand it out for testing - how can I build it?

After you run
Code: [Select]
npm run build in web/ dir, the package files will be copied to electron/build, so you need to go to electron dir and type
Code: [Select]
npm run release to create light wallet installer.
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline monsterer

Ok, so I've made some changes to the web wallet which look good, but now I want to build the lite wallet with my changes, so I can hand it out for testing - how can I build it?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline svk

Why are you working with the light wallet though? Would be much easier to just use the web wallet..
Worker: dev.bitsharesblocks

Offline monsterer

npm install usually fixes errors about missing stuff - you need npm install inside ./electron as well.

I've caused the errors by changing the module, tho - I'd like to know what they were tho :)
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
npm install usually fixes errors about missing stuff - you need npm install inside ./electron as well.

Offline monsterer

Look at console in DevTools (available via View menu).

Ahh, yes, thanks...

When I get a webpackMissingModule exception, is it possible to see why the module didn't compile?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline valzav

  • Sr. Member
  • ****
  • Posts: 294
    • View Profile
Thanks cass - and this is not the web wallet? Are they separate?

The light wallet is  the web wallet just wrapped built on Electron (http://electron.atom.io/) AFAIK

Thanks :)

Any idea where this logs runtime errors? I've got errors in my react component, but not sure what they are :)

Look at console in DevTools (available via View menu).

Offline monsterer

Thanks cass - and this is not the web wallet? Are they separate?

The light wallet is  the web wallet just wrapped built on Electron (http://electron.atom.io/) AFAIK

Thanks :)

Any idea where this logs runtime errors? I've got errors in my react component, but not sure what they are :)
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline cass

  • Hero Member
  • *****
  • Posts: 4311
  • /(┬.┬)\
    • View Profile
Thanks cass - and this is not the web wallet? Are they separate?

The light wallet is  the web wallet just built on Electron (http://electron.atom.io/) AFAIK
« Last Edit: November 06, 2015, 09:56:46 pm by cass »
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline valzav

  • Sr. Member
  • ****
  • Posts: 294
    • View Profile
After you run
Code: [Select]
npm run build in web/ dir, the package files will be copied to electron/build, so you need to go to electron dir and type
Code: [Select]
npm run release to create light wallet installer.

Offline monsterer

Thanks cass - and this is not the web wallet? Are they separate?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline cass

  • Hero Member
  • *****
  • Posts: 4311
  • /(┬.┬)\
    • View Profile
at the end just

https://github.com/cryptonomex/graphene-ui

Code: [Select]
cd cli; npm install
cd ../dl; npm install
cd ../ios; npm install
cd ../web; npm install

then just open chrome or whatever browser at http://localhost:8080

then u are able to customize or develop additional features just working within /web/app

█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline monsterer

Are there any instructions about how to compile / build the lite wallet?

I want to make a pull request to add metaexchange to the wallet, but to do that, I need to be able to test my changes :)
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads