Author Topic: web wallet based python flask  (Read 4775 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
wow .. you really know how to create a slick an nicely looking User interface .. +5% !!! definitely alot better than all webpages I ever created!

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
wallet balance and market


Offline wuyanren

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
美元市场偏离达到30%,真的令人担忧

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I have almost complete the UI frame work



Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
try install ez_setup, In fact I haven't install this package, but from the error message, you need it.
Code: [Select]
pip install ez_setup
I encounter some error when doing '$ sudo pip install btsbots-wallet':

Quote
Collecting wsgiref==0.1.2 (from btsbots-wallet)
  Using cached wsgiref-0.1.2.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-cdh4x3j6/wsgiref/setup.py", line 5, in <module>
        import ez_setup
   
    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-cdh4x3j6/wsgiref

I googled it and tried steps from this link, but it didn;t work. Any suggestions?

Offline 麥可貓

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
I encounter some error when doing '$ sudo pip install btsbots-wallet':

Quote
Collecting wsgiref==0.1.2 (from btsbots-wallet)
  Using cached wsgiref-0.1.2.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-cdh4x3j6/wsgiref/setup.py", line 5, in <module>
        import ez_setup
   
    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-cdh4x3j6/wsgiref

I googled it and tried steps from this link, but it didn;t work. Any suggestions?
PTS: PmRVDPymZqSAZEXauHZSewrUrE66af7epT
BTSX: michaelcat
Delegate Team: x1.sun  x2.sun

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
wow .. first public project I see that uses the websockets API .. +5% +5%!!
it's really fast.
and flask is really good, the UI develop is totally seperate from backend.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
wow .. first public project I see that uses the websockets API .. +5% +5%!!

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I am writing a web wallet, based python flask,
it's not a light wallet.
it depend a wallet backend to provide rpc call.
it run a web server at local host,
update the browser in real time throw web socket.
I am not family with User interface.
please join me if you are good at web develop.

you can try the demo version now.
install:
Code: [Select]
pip install btsbots-wallet
config
Code: [Select]
cat > ~/.python-bts/bts_client.json
{
    "client_default": {
        "host": "localhost",
        "port": "3988",
        "user": "alt",
        "password": "alt"
    }
}
run
Code: [Select]
btsbots_wallet_cli
then visit http://localhost:5000

source code is here:
https://github.com/pch957/btsbots-wallet
« Last Edit: May 21, 2015, 05:58:19 am by alt »