Code Monkey home page Code Monkey logo

piwallet's Introduction

piWallet

piWallet is a popular secure opensource online altcoin wallet that works with practically any altcoin. piWallet uses PHP, mySQL, JavaScript and Bootstrap meaning it's quite simple to setup.

Setup: https://github.com/johnathanmartin/piWallet/wiki/Installation

TODO: Add a step in the wiki explaining to copy settings-example.php into a new file settings.php and then change the values.

Bitcoin Talk Thread: https://bitcointalk.org/index.php?topic=911212

Please exercise EXTREME CAUTION when having a 3rd party install piWallet, please see https://fittechhosting.com/cryptocurrency for approved installation/piWallet hosting services.

I can be reached directly at [email protected]

Features:

  • Manual User Reserve

  • QR Codes use a local generation URL

  • Multilanguage support for over 90% of text - Currently supported languages include English, Greek, Mandarin, Hindi, Italian, Portuguese, Spanish, and Tagalog.

  • QR Codes for Addresses

  • Google 2 Factor Auth

  • Mobile App (Additional Addon - see https://FitTechHosting.com/cryptocurrency )

  • Fee Sent to Wallet Owner (Included w/ Hosting - https://FitTechHosting.com/cryptocurrency)

Planned Features:

  • Have QR Codes open in lightbox instead of new tab

  • Control of Private Keys

  • Improved Bootstrap Theme

Todo List:

  • Issue #78 - PHP Juggling

  • Issue #82 - Strip tags bug

  • Issue #83 - change default password from changeme

  • Issue #36 Stop using md5

  • Change background from ugly yellow

More Information:

Created by Johnathan Martin of FitTechHosting.com

piwallet's People

Contributors

cassubian avatar fitbobcat avatar humanscoin-project avatar jfm-so avatar mrtremendous avatar mystphysx avatar vitorgamer58 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

piwallet's Issues

$this->getCode not compatible with PHP7

"In the classes/User.php file, you use this->getCode() which is a builtin method in php7 at least. This causes 2 factor authentication not to work. I rectified this in my instance by changing it to getCodePin() as the function/method name, but to each his own." - TW (via eMail)

Question on LTC and DOGE...

I visited your website and I was not able to create an account on LTC or DOGE. I get a blank screen.

Otherwise I like your idea.

Can you clarify abit on the altcoin option implementation?

Not Working with hybrid pos / pow coin

Hello,
The coin I am trying to use is not working with this wallet for some reason it is a hybrid pos/ pow coin called LyraCoin and I get a white screen and It should be connecting to both mysql and rpc.

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://root:@127.0.0.1:3306/'

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://root:@127.0.0.1:3306/' in C:\xampp\htdocs\piwallet-master2\jsonRPCClient.php:141 Stack trace: #0 C:\xampp\htdocs\piwallet-master2\classes\Client.php(28): jsonRPCClient->__call('getaddressesbya...', Array) #1 C:\xampp\htdocs\piwallet-master2\classes\Client.php(28): jsonRPCClient->getaddressesbyaccount('zelles(admin)') #2 C:\xampp\htdocs\piwallet-master2\index.php(165): Client->getAddressList('admin') #3 {main} thrown in C:\xampp\htdocs\piwallet-master2\jsonRPCClient.php on line 141

2fa enabled by default?

Trying to follow the install instructions from the wiki. The install was easy enough, but when I visit the page and try to log with user "admin" and password "changeme" but it keeps returning "Username, password or 2 factor is incorrect"

How do I know what the 2FA is? Is there a way to disable that until after admin is logged in?

code of index.php

when entering localhost / piWallet / I see the index.php code.
I have apache2 and php7 installed, I do not understand what may be happening.

License?

What kind of license does this project use?

Send from self to self is possible?

If I install this web wallet to some VPS (says, V),

Lets say there run some coin wallet program, admin user A have pre-mined coin like 10,000,000.

Now after install web wallet to this same VPS, if many users make account here, can A send coin to user B?

Then this become self wallet send to self? Is this has no problem?

And each user's address can only use his own address's balance?

White Screen After Login

Alright got to the point of signing in.
Obviously have done something right here but think it may be issue with sql?
Was pretty unclear for debug "uncomment first three lines" where?
Hit me at [email protected] would love to talk more

How to setup this on real Bitcoin?

I run a bitcoin daemon on my server.

How can I set piwallet for use this web features?

If piwallet is installed at another server with bitcoin daemon, then how?

Update

When will this get a much needed update?

txfee

how to force tx fee in wallet since one of the coind is using 0 txfee and in result getting following error

Notice: Undefined index: fee in ............/view/admin_info.php on line 90

CryptoCoin class error


( ! ) Fatal error: Class 'CryptoCoin' not found in /var/www/wallet/classes/Client.php on line 10
--


1 | 0.0000 | 231608 | {main}( ) | .../index.php:0
2 | 0.0005 | 265112 | Client->__construct( ) | .../index.php:19

installed a few times before, time before but first time with POS coin and tried two POS coins resulting in exact same error. Steps are all correct.

piWallet ( Backed have some "bugs" )

Warning: fopen(http://[email protected]:3306/): failed to open stream: HTTP request failed! in C:\xampp\htdocs\piwallet-master2\jsonRPCClient.php on line 133

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://root:@127.0.0.1:3306/' in C:\xampp\htdocs\piwallet-master2\jsonRPCClient.php:141 Stack trace: #0 C:\xampp\htdocs\piwallet-master2\classes\Client.php(28): jsonRPCClient->__call('getaddressesbya...', Array) #1 C:\xampp\htdocs\piwallet-master2\classes\Client.php(28): jsonRPCClient->getaddressesbyaccount('zelles(admin)') #2 C:\xampp\htdocs\piwallet-master2\index.php(165): Client->getAddressList('admin') #3 {main} thrown in C:\xampp\htdocs\piwallet-master2\jsonRPCClient.php on line 141

please help us...

Blank page after signing in . Pos/pow Scrypt Coin

Hey :)
Firslty, I want to thank the dev for creating and sharing this web wallet for free :)

I install all dependencies (Php7) and configured and I've ran my daemon .
Here is the conf of my daemon coin :

rpcpassword=aleph123
rpcallowip=127.0.0.1
rpcport=21718
listen=1
server=1
txindex=1
daemon=1

accounts=1
staking=0```

And here is the debug file 

[Sat Aug 26 22:25:27.689851 2017] [:error] [pid 1683] [client 41.227.243.174:14866] PHP Fatal error: Uncaught Exception: Unable to connect to http://aleph:[email protected]:21718/ in /var/www/html/jsonRPCClient.php:141\nStack trace:\n#0 /var/www/html/classes/Client.php(17): jsonRPCClient->__call('getbalance', Array)\n#1 /va$


Enable Send Coin

Hi, When did you enable send coin to a desire address? I can generate address & I can receive coins with transaction info but I'm unable to send coins. Other than that you did a great job 👍 Some minor issue are there for example: "Your addresses: " shows blank. Only generate new address WORKS. Lot of Bootstrap improvement are need but anyone with basic PHP knowledge can do that.

You can check out my wallet @ http://165.227.108.161/pi/index.php
Username: root
Password: root

Fatal error

Fatal error: Unsupported operand types in /var/www/html/index.php on line 23

Ok So I got here...but now what?....

What is the Exact Version of Ubuntu that can run PiWallet successfully ???

Hello dear friend.
I would like to know which Ubuntu Exact Version do you use to run the PiWallet Script on your Personal Computer ???
I use the Ubuntu 16.04.2 LTS (Xenial Xerus) version.
Is this also what you use ???
I ask that because I think the problem may be due to the System.
To be sure not to know any more problem that's why I ask you please specify the Ubuntu version you use to install and run piWallet at home without difficulty because piWallet has trouble working on Latest Version of Ubuntu (i.e: Ubuntu 16.04.2 LTS Xenial Xerus version) ???
Thank you.

White screen after logging

I'm trying to setup piWallet, but i'm facing a white screen after logging, as the Debugging section says, this could be because of a bad configuration of the RPC login, however I don't know what values to put.

My coin is based in Forknote, a fork of Bytecoin.
Thanks.

Request Feature

How to automatically generate crypto coin address on signup?

Permissions

Hi
I am trying to set up on a linux server and the coin daemon runs as root. The web server user has no permission to access the service. How do I run my daemon as a user in an isolated group so that the website can talk to the daemon?
Regards
John

Installation error in step 3, line 4 from guide

after command: sudo apt-get install php5 php5-*
getting this error output:

The following packages have unmet dependencies:
 libapache2-mod-php5 : Conflicts: libapache2-mod-php5filter but 5.5.9+dfsg-1ubuntu4.22 is to be installed
 libapache2-mod-php5filter : Conflicts: libapache2-mod-php5 but 5.5.9+dfsg-1ubuntu4.22 is to be installed
 php5-apcu : Conflicts: php5-user-cache
             Conflicts: php5-xcache but 3.1.0-2 is to be installed
 php5-mysql : Conflicts: php5-mysqlnd but 5.5.9+dfsg-1ubuntu4.22 is to be installed
 php5-mysqlnd : Conflicts: php5-mysql but 5.5.9+dfsg-1ubuntu4.22 is to be installed
 php5-xcache : Conflicts: php-apc
               Conflicts: php5-user-cache
E: Unable to correct problems, you have held broken packages.

How to fix this?

compatible with Multichain ?

hello

Can I use in on my blockchain project that built on top of multichain ( multichain is a fork of bitcoin ) ?

Thanks

blank page after login

just facing a problem when i install the script in online VPS and in my localhost too
problem in my localhost :

Warning: fopen(http://...@**IPVPS**:**PORTRPC**/): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in C:\xampp\htdocs\wallet\jsonRPCClient.php on line 133

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://**RPCUSER**:**RPCPASS**@**IPVPS**:**PORTRPC**/' in C:\xampp\htdocs\wallet\jsonRPCClient.php:141 Stack trace: #0 C:\xampp\htdocs\wallet\classes\Client.php(17): jsonRPCClient->__call('getbalance', Array) #1 C:\xampp\htdocs\wallet\classes\Client.php(17): jsonRPCClient->getbalance('zelles(piWallet...', 6) #2 C:\xampp\htdocs\wallet\index.php(22): Client->getBalance('piWallet') #3 {main} thrown in C:\xampp\htdocs\wallet\jsonRPCClient.php on line 141

problem in my online VPS ( i'm runing here the daemon of my coin algo x13
i just follow all instructions when i try login with piWallet and changeme its show blank page
tried to create new user but the same problem

dev if you are able to install this wallet in my vps i will donate to the project to develop it also i'm ready to create custom template and improve arabic lang with right to left direction i'm a designer not developer :p
please need your help

Does not scale

Any daemons forked from Bitcoin will not scale beyond a 100 or so accounts due to the way how the daemon database system works, it will scan the entire database for every getbalance request, I suggest you switch to doing accounting within the PiWallet DB, and use listsinceblock to track TXs and to update record accordingly.

How balance can be minus?

Someone sent whole fund on his web to his local wallet, now his web balance says -0.1?
His last transaction is sent and fee is 0.1
How this can be?

Is it necessary to initialize and synchronize Bitcoind to the server before running PiWallet ???

I have problem after installing piWallet.
I think, it's been nearly a week now that I dig up what is causing the Bug that makes the PiWallet script still installed locally, can not generate new addresses. When you click on "Get a new Address", you should automatically see the Generated Address but I see that a problem still arises because no New Address is generated automatically but we see that even display the Message To Success (A new Adress was added to your wallet) but we do not see this address generated.

This is also the case in the List of 10 Last Transactions (Date, Address, Type, Amount, Fee, Confs, Info) which is not displayed when a Transaction has been made.

So I wonder what is the basis of this problem. This is why I add to this message the Two (2) Files that contain the Generation of Addresses and Transactions so that you can see with me and help me correct this so that the Addresses and the Transaction List are displayed correctly As it should be.

Do you think that this error that causes the generated addresses not to appear are due to the fact that the Bitcoind Server has not yet fully synchronized ???

As explained on the site of Bitcoin of the Developer (https://en.bitcoin.it/wiki/PHP_developer_intro), it is necessary to completely leave the Bitcoind Server to download and synchronize. So do you think this is what is the basis of this error ???

Use in coin without rpc_user

Hello, I am trying to use this wallet for my currency but my currency does not have rpc_user or rpc_passsword. The currency is based on this https://github.com/cryptonotefoundation/cryptonote. Can someone help me?

I receive this error.

Warning: fopen(http://[email protected]:34888/): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/html/jsonRPCClient.php on line 133

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://:@127.0.0.1:34888/' in /var/www/html/jsonRPCClient.php:141 Stack trace: #0 /var/www/html/classes/Client.php(17): jsonRPCClient->__call('getbalance', Array) #1 /var/www/html/classes/Client.php(17): jsonRPCClient->getbalance('zelles(piWallet...', 6) #2 /var/www/html/index.php(22): Client->getBalance('piWallet') #3 {main} thrown in /var/www/html/jsonRPCClient.php on line 141

Struggling to get the connection up

This is the error i get when trying to login

Warning: fopen(http://[email protected]:1007/): failed to open stream: HTTP request failed! in /var/www/html/jsonRPCClient.php on line 133

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://keetirpc:[email protected]:1007/' in /var/www/html/jsonRPCClient.php:141 Stack trace: #0 /var/www/html/classes/Client.php(17): jsonRPCClient->__call('getbalance', Array) #1 /var/www/html/classes/Client.php(17): jsonRPCClient->getbalance('zelles(piWallet...', 6) #2 /var/www/html/index.php(22): Client->getBalance('piWallet') #3 {main} thrown in /var/www/html/jsonRPCClient.php on line 141

login index page problem

Warning: fopen(http://[email protected]:32486/): failed to open stream: HTTP request failed! HTTP/1.0 401 Authorization Required in /var/www/html/jsonRPCClient.php on line 133

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://rpc_miacoin:[email protected]:32486/' in /var/www/html/jsonRPCClient.php:141 Stack trace: #0 /var/www/html/classes/Client.php(17): jsonRPCClient->__call('getbalance', Array) #1 /var/www/html/classes/Client.php(17): jsonRPCClient->getbalance('zelles(davide1)', 6) #2 /var/www/html/index.php(22): Client->getBalance('davide1') #3 {main} thrown in /var/www/html/jsonRPCClient.php on line 141

Accounts depreciated

Very nice project. A suggestion for an enhancement, future-proofing.

The concept of "accounts" in bitcoin-core is depreciated and scheduled for removal in the near future.

piWallet relies on Accounts in virtually every RPC call.

Undefined index: user_id

This is causing issues with 2fa. In some cases, user_id is not being stored as a session variable. Hence, it will show a secret and generated QR to the user, but the sql query to store the secret will fail because user_id would be undefined. For now, a fix is to not issue 2fa if this user_id session variable is not set yet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.