Author Topic: Demo Wallet  (Read 7622 times)

0 Members and 1 Guest are viewing this topic.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
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:06 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 blahblah7up

  • Full Member
  • ***
  • Posts: 192
    • View Profile
Password to access the server (demo/demo) works fine.  Password to demo the wallet?

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
yep. it is working now . I will leave this server working from now on.  special thanks to alt's hint <grin>

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

access user: demo
password:demo

wallet password is "176173.com"

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 ?

Seems to be working for me now.
« Last Edit: July 24, 2014, 02:49:04 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 bytemaster

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 ?

Seems to be working for me now.
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 alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Do you change the path of htdocs?
this if my config
Code: [Select]
  "rpc": {
    "enable": false,
    "rpc_user": "",
    "rpc_password": "",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:0",
    "htdocs": "./htdocs"
my webpage path is here : /home/alt/workspace/bitsharesx/programs/web_wallet/generated/
so I run this
Code: [Select]
ln -sf  /home/alt/workspace/bitsharesx/programs/web_wallet/generated/  ./htdocs

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
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

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
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]
> lineman-less@0.0.1 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
got following error while running
sudo npm install -g lineman  ----- this one has no problem.
sudo npm install --- got following error

Code: [Select]
> lineman-less@0.0.1 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 alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi

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 dexinwong

  • Sr. Member
  • ****
  • Posts: 232
    • View Profile
« Last Edit: July 24, 2014, 01:08:19 am by dexinwong »

Offline bytemaster


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 sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile

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 Empirical1

  • Hero Member
  • *****
  • Posts: 884
    • View Profile
 +5% Good idea

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
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 sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
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