Author Topic: [OVER] new testnet *WITH GUI! WOW!* inside  (Read 33397 times)

0 Members and 1 Guest are viewing this topic.

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
Can the bitshares_toolkit be run in C/S mode whithout JSON-RPC, which is based on HTTP?
I mean just like mysqld and mysql command line client.
Or  do I need to run it in GNU screen or something like this on the server even when I use it only as a JSON-RPC server?
« Last Edit: June 05, 2014, 11:09:50 am by coolspeed »
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Sofar .. everthings works fine for me ..
+ registered accounts
+ sent funds from facuet to me
+ sent more funds
+ registered account on the blockchain
+ registered as delegate
+ voted for delegate coolspeed
+ sent funds to an other account

Only thing that I wondered: When a transactions is unconfimred/pending, the balances is already substracted
from what 'wallet_list_receive_accounts' shows. That should be changed

And, where can I check that my delegation-vote is broadcasted? After voring for coolspeed I couldn't find him anymore via 'blockchain_get_delegates'

Vote for me as delegate. (I voted for coolspeed)
Code: [Select]
wallet_set_delegate_trust_level xeroc1 5

Me too I was able to perform the same list of actions successfully.
I voted for you as delegate, please someone vote for me :)
Code: [Select]
wallet_set_delegate_trust_level spartako-1 5
wallet_account_set_approval spartako

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
XTS7CrBr4r7QATQdWCBUctsgqAhSeVYNrGRfUCpjXinU6JwhxQcMH
If anyone wants to send some funds before I get the web wallet working, thanks.
Quote
  #    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                   AMOUNT                 FEE          VOTE                                        ID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9    726.0    2014-06-05T08:41:30 xeroc-1             amencon             Have fun                       -5,000,000 XTS          10,000 XTS           N/A  41304c25917fc13acabafc4f33271db5698480b1

Offline amencon

  • Sr. Member
  • ****
  • Posts: 227
    • View Profile
This works on ubuntu 14.04:
Before installing lineman, do:
sudo apt-get install -y nodejs
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo apt-get install -y npm
These commands work and it looks like nodejs, npm and lineman are installed correctly.

However when I attempt to run the last installation command "npm install" I get:

Quote
# npm install
npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/root/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /root/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/npm-debug.log
npm ERR! not ok code 0

I checked /root/npm-debug.log but it didn't show much else.

Any idea where I've gone wrong?

Thanks.

Edit:
XTS7CrBr4r7QATQdWCBUctsgqAhSeVYNrGRfUCpjXinU6JwhxQcMH
If anyone wants to send some funds before I get the web wallet working, thanks.
« Last Edit: June 05, 2014, 08:38:30 am by amencon »

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
config.json is in the directory, which is specified with the data-dir flag
without the flag it will be in the default data directory
Thank you!
Finally I  run it up!
it's in the config directory for bitshares_client, not for webwallet

Offline cgafeng

Code: [Select]
wallet_open from
wallet_transfer 20000 XTS from to test
wallet_open to
get_info

I create 2 wallet in the same client, "from" and "to", then transfer, the transfer is success, and i see the wallet "from" balance is reduce, then open wallet "to", use get_info, the balance is no change.
After use wallet_rescan_blockchain, the wallet "to" balance is correct.
Is this a bug?
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Why does registering as delegate cost exactly 4,324,119 XTS?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Sofar .. everthings works fine for me ..
+ registered accounts
+ sent funds from facuet to me
+ sent more funds
+ registered account on the blockchain
+ registered as delegate
+ voted for delegate coolspeed
+ sent funds to an other account

Only thing that I wondered: When a transactions is unconfimred/pending, the balances is already substracted
from what 'wallet_list_receive_accounts' shows. That should be changed

And, where can I check that my delegation-vote is broadcasted? After voring for coolspeed I couldn't find him anymore via 'blockchain_get_delegates'

Vote for me as delegate. (I voted for coolspeed)
Code: [Select]
wallet_set_delegate_trust_level xeroc1 5

Offline CrazyCriple

  • Full Member
  • ***
  • Posts: 51
    • View Profile
XTS6vVdrWtP4hG4JrJDnEcH9viJ1EH47wqMXwdAtKPiiCc3XHsGeZ

Thanks :)

Looks goog so far

Offline cgafeng

可以自己到钱包去转钱,参考下面链接

看下面这个图,我用Dropbox共享的,不知道大家能不能看到。

BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline zhangweis

  • Sr. Member
  • ****
  • Posts: 305
    • View Profile
XTS8TzZ4svypC4nyyuExv9uMGiFYYnvXFutXxx8yJphwLZpLC5oqe

Thanks.
Weibo:http://weibo.com/zhangweis

Offline Moroz

  • Newbie
  • *
  • Posts: 10
    • View Profile
config.json is in the directory, which is specified with the data-dir flag
without the flag it will be in the default data directory

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Sudo, if you are trying to run the web app, you need to get

https://github.com/BitShares/web_wallet

follow the instructions to generate the app

and replace .htdocs in config.json with the generated directory.
Where is the config.json?

I get this error msg
Code: [Select]
ReferenceError: prefixMatchingApiProxy is not defined
    at /home/alt/workspace/web_wallet/config/server.js:21:57
    at callbacks (/home/alt/workspace/web_wallet/node_modules/lineman/node_modules/express/lib/router/index.js:164:37)
    at multipart (/home/alt/workspace/web_wallet/node_modules/lineman/node_modules/express/node_modules/connect/lib/middleware/multipart.js:81:27)
    at /home/alt/workspace/web_wallet/node_modules/lineman/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:57:9
    at urlencoded (/home/alt/workspace/web_wallet/node_modules/lineman/node_modules/express/node_modules/connect/lib/middleware/urlencoded.js:46:27)
    at /home/alt/workspace/web_wallet/node_modules/lineman/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:55:7
    at IncomingMessage.<anonymous> (/home/alt/workspace/web_wallet/node_modules/lineman/node_modules/express/node_modules/connect/lib/middleware/json.js:72:9)
    at IncomingMessage.EventEmitter.emit (events.js:92:17)
    at _stream_readable.js:919:16
    at process._tickCallback (node.js:419:13)

Offline codinat

  • Full Member
  • ***
  • Posts: 176
    • View Profile

Offline Moroz

  • Newbie
  • *
  • Posts: 10
    • View Profile
This works on ubuntu 14.04:
Before installing lineman, do:
sudo apt-get install -y nodejs
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo apt-get install -y npm