Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Demo Wallet  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Demo Wallet
« on: July 23, 2014, 10:28:16 PM »

Anyone care to setup a "demo wallet" accessible to everyone on the web?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline cass

  • Hero Member
  • *****
  • Posts: 4328
  • /(┬.┬)\
    • View Profile
Re: Demo Wallet
« Reply #1 on: July 23, 2014, 11:14:34 PM »
nobody?
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline toast

Re: Demo Wallet
« Reply #2 on: July 23, 2014, 11:15:38 PM »
I'll do it after work
(ha ha "after" amirite)

edit: actually if someone else wants to please do
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: Demo Wallet
« Reply #3 on: July 23, 2014, 11:31:47 PM »
Password to access the server (demo/demo) works fine.  Password to demo the wallet?

demo wallet is running @  http://54.191.7.103:8080/.  for public access.

access user: demo
password:demo

wallet password is "176173.com"

i will deposit 10btsx for demo test only. please try not to use more than 0.1 for testing .

in the mean time . account "dac.twitter" accept donation for demo testing purpose.


following are links to show you how to create a btsx account

http://wiki.bitshares.org/index.php/Bitshares-x-how-to#Creating_accounts

http://wiki.bitshares.org/index.php/Bitshares-x-how-to
« Last Edit: July 24, 2014, 04:33:44 PM by sfinder »
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline toast

Re: Demo Wallet
« Reply #4 on: July 23, 2014, 11:41:08 PM »
I would like to have a try. Please let me know all the requirements.

run a node and serve web_wallet via the web
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: Demo Wallet
« Reply #5 on: July 23, 2014, 11:48:32 PM »
Ok. I will work on it after dinner . Will a linux box work? Which release and  on which network? Main or test?

I would like to have a try. Please let me know all the requirements.

run a node and serve web_wallet via the web
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline toast

Re: Demo Wallet
« Reply #6 on: July 23, 2014, 11:53:44 PM »
Ok. I will work on it after dinner . Will a linux box work? Which release and  on which network? Main or test?

I would like to have a try. Please let me know all the requirements.

run a node and serve web_wallet via the web

main net, most recent stable
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline Empirical1

  • Hero Member
  • *****
  • Posts: 884
    • View Profile
Re: Demo Wallet
« Reply #7 on: July 24, 2014, 12:36:39 AM »
 +5% Good idea

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: Demo Wallet
« Reply #8 on: July 24, 2014, 12:55:48 AM »

working on it now. compiling ...................

please post the cmd to run web_wallet
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline bytemaster

Re: Demo Wallet
« Reply #9 on: July 24, 2014, 01:00:22 AM »

working on it now. compiling ...................

please post the cmd to run web_wallet

programs/web_wallet README   --- these instructions could be simplified...
Code: [Select]

Install node.js:

   http://nodejs.org/download/

Install Lineman and dependencies via the following commands:


    $ npm install -g lineman 
    $ npm install

Find more information here [https://travis-ci.org/linemanjs/lineman-angular-template](https://travis-ci.org/linemanjs/lineman-angular-template)


## Usage

1. Specify path to web_wallet/generated as htdocs in client's config.json. e.g.
```
{
  "rpc": {
    "rpc_user": "test",
    "rpc_password": "test",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:0",
    "htdocs": "/Users/dlarimer/dev/web_wallet/generated"
  },
  "default_peers": [
    "107.170.30.182:8764",
    "114.215.104.153:8764",
    "84.238.140.192:8764"
  ],
  "ignore_console": false,
  "logging": {
    "includes": [],
    "appenders": [],
    "loggers": []
  }
}
```

2. Start either bitshares_client (with --server option).
```
./bitshares_client --data-dir w1 --server --httpport 9989
```

3. Run lineman: $ lineman run

4. Open http://localhost:9989, if application is working it should load the idex page (may ask for credentials if client is using HTTP Basic Auth)

5. Now you can edit application's html, js and css files located in web_wallet/app.

For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline dexinwong

  • Sr. Member
  • ****
  • Posts: 232
    • View Profile
Re: Demo Wallet
« Reply #10 on: July 24, 2014, 01:04:34 AM »
 :)
« Last Edit: July 24, 2014, 01:08:19 AM by dexinwong »

Offline alt

Re: Demo Wallet
« Reply #11 on: July 24, 2014, 01:09:52 AM »

working on it now. compiling ...................

please post the cmd to run web_wallet
Code: [Select]
./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo
after first run, edit demo/config.json
change this line
    "httpd_endpoint": "127.0.0.1:0",
to
    "httpd_endpoint": "0.0.0.0:0",

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: Demo Wallet
« Reply #12 on: July 24, 2014, 01:42:32 AM »
got following error while running
sudo npm install -g lineman  ----- this one has no problem.
sudo npm install --- got following error

Code: [Select]
> [email protected] postinstall /home/ubuntu/bitsharesx/programs/web_wallet/node_modules/lineman-less
> node script/postinstall.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
 
npm ERR! weird error 127
npm ERR! not ok code 0


working on it now. compiling ...................

please post the cmd to run web_wallet
Code: [Select]
./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo
after first run, edit demo/config.json
change this line
    "httpd_endpoint": "127.0.0.1:0",
to
    "httpd_endpoint": "0.0.0.0:0",
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: Demo Wallet
« Reply #13 on: July 24, 2014, 01:47:11 AM »
fixed by following cmd

sudo apt-get install nodejs-legacy

got following error while running
sudo npm install -g lineman  ----- this one has no problem.
sudo npm install --- got following error

Code: [Select]
> [email protected] postinstall /home/ubuntu/bitsharesx/programs/web_wallet/node_modules/lineman-less
> node script/postinstall.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
 
npm ERR! weird error 127
npm ERR! not ok code 0


working on it now. compiling ...................

please post the cmd to run web_wallet
Code: [Select]
./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo
after first run, edit demo/config.json
change this line
    "httpd_endpoint": "127.0.0.1:0",
to
    "httpd_endpoint": "0.0.0.0:0",
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: Demo Wallet
« Reply #14 on: July 24, 2014, 02:22:25 AM »
Code: [Select]
./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo
Code: [Select]
cd ~/bitshares/bitsharesx/programs/web_wallet
lineman run

please check http://54.191.7.103:8080/. everything look fine but demo/demo  doesn't work.

did i miss any steps ?
« Last Edit: July 24, 2014, 02:24:26 AM by sfinder »
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

 

Google+