Giter Club home page Giter Club logo

bitwasp's People

Contributors

fbueller avatar wozz 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitwasp's Issues

404 after del vendor/buyer

... in the admin order list and this error if i del an item:

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: items/get.php

Line Number: 73

Backtrace:

File: /var/www/html/application/views/items/get.php
Line: 73
Function: _exception_handler

File: /var/www/html/application/views/templates/Template.php
Line: 112
Function: view

File: /var/www/html/application/libraries/Layout.php
Line: 27
Function: __construct

File: /var/www/html/application/controllers/Items.php
Line: 199
Function: library

File: /var/www/html/index.php
Line: 281
Function: require_once

New Child Address from HD public address gives error in testnet

The following code works with the bitcoin network but not the bitcoinTestnet network. IOW, it works with xpub but not tpub addresses.

				$key = HierarchicalKeyFactory::fromExtended($xpub, NetworkFactory::bitcoinTestnet());
				$path = ($change ? '1' : '0').'/'.$index;
				$child_key = $key->derivePath($path);
				return new Result('data',(new PayToPubKeyHashAddress($child_key->getPublicKey()->getPubKeyHash()))->getAddress());

It gives the error:

Invalid Bitcoin address: HD key magic bytes do not match network magic bytes

I noticed the constant xpub is mentioned in the code, but not the constant tpub. It seems like this could be overridden in the testnet network. I don't understand enough about the code for the magic bytes to produce a pull request. Thanks.

SQL Install is missing columns

I was trying to install BitWasp on my test box but I ran into an issue relating to the install.sql file being out of date.

Errors below:

Error Number: 1054

Unknown column 'email_address' in 'field list'

SELECT `id`, `banned`, `user_hash`, `user_name`, `local_currency`, `user_role`, `salt`, `force_pgp_messages`, `public_key`, `pgp_two_factor`, `totp_two_factor`, `entry_paid`, `email_address`, `email_activated`, `activation_hash`, `activation_id` FROM `bw_users` WHERE `user_name` = 'admin'

Filename: models/Users_model.php

Line Number: 105

Who is maintaining the repo for this project at this time?

JQuery being loaded 2x

Hey, why do you have JQuery being loaded 2 times, using 2 different versions?
You load jquery-1.10.2 from google(WTF, seriously?) in the ./application/views/templates/header.php file and jquery-1.8.1.min in the /application/views/templates/footer.php file from your own assets folder.
I would advise you to move the Jquery that is being loaded in the footer to the header, if you really need it to be loaded at the top of the page.

Delete Users from Adminpanel

I can't delete Users from Backend.

SQL Error:

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: self

Filename: controllers/admin.php

Line Number: 1224

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: panel_url

Filename: controllers/admin.php

Line Number: 1226

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: panel_url

Filename: controllers/admin.php

Line Number: 1226

Thank you for this Software! I want help to build this project stabile.
Best Regards

Error on registration

After filling out the registration form:

A PHP Error was encountered
Severity: Notice
Message: Undefined index: id
Filename: libraries/Jsonrpcclient.php
Line Number: 146

Using blockchain.info's JSON RPC api

Suggestion for Client/Server architecture

As BitWasp may be deployed to somewhat unreliable networks like Tor I would suggest creating a lightweight (think RESTful) API for the server side, and implement a JavaScript client to run in the browser.

In this setup the user would download a single JS file, and then the JS would manage API requests via AJAX for resources on the server. The JS could monitor the status of each request, and provide useful feedback to the user as it tried (and re-tried as necessary) to request or submit data to/from the server.

This could significantly improve the user experience for users of sites hosted on low-bandwidth unreliable networks.

escrow/upfront

made a listing with "prefer upfront=yes" and get the info the order will be escrow before accepting ....

vendor reg fails with reg fee

vendor registration with fee - get this after trying to register:

[code]

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Users::$bitcoin_model

Filename: controllers/Users.php

Line Number: 257

Backtrace:

File: /var/www/html/bitwasp/application/controllers/Users.php
Line: 257
Function: _exception_handler

File: /var/www/html/bitwasp/index.php
Line: 275
Function: require_once

Fatal error: Call to a member function get_fees_address() on a non-object in /var/www/html/bitwasp/application/controllers/Users.php on line 257
A PHP Error was encountered

Severity: Error

Message: Call to a member function get_fees_address() on a non-object

Filename: controllers/Users.php

Line Number: 257

Backtrace:
[/code]

Contributing

Hiya,

I'm interested in this project...I know PHP & Perl. Are there any sort of todos or is there a place to discuss this project?

Encrypt Server Side

capture

Shouldn't this be done server side? Why the dependency on Javascript to make sure the message is encrypted? Perhaps you should force users to use and encrypted address, and not accept plain text at all?

vendor dont get buyer address

dont get the mail with the user data anymore ... maybe any context bc setup and enabled a proxy?
update: had nothing to do with my proxy ;) vendor dont get the data mail if his order automatically accepted ...

Not all fields have been filled in correctly.

Install
j

Not all fields have been filled in correctly.

So i fill in all the fields and this is what i get . Let it be known i did not elect to use electrum cause i Did not want to use bitcoin .

Can this software not be used with Alt Coins ?

error after refund

try to refund thy buyer (as admin). got this:

Fatal error: Class 'BitcoinLib' not found in /var/www/bitwasp/application/controllers/Admin.php on line 970
A PHP Error was encountered

Severity: Error

Message: Class 'BitcoinLib' not found

Filename: controllers/Admin.php

Line Number: 970

Backtrace:

btc exchange rate

possible to get a btc exchange rate to eur/$ anywhere ... maybe at the footer?

token dont work

got this after using the created token (user role):

[code]

A PHP Error was encountered

Severity: Notice

Message: Undefined index: role

Filename: users/register_no_pin.php

Line Number: 48

Backtrace:

File: /var/www/html/bitwasp/application/views/users/register_no_pin.php
Line: 48
Function: _exception_handler

File: /var/www/html/bitwasp/application/views/templates/Template.php
Line: 112
Function: view

File: /var/www/html/bitwasp/application/libraries/Layout.php
Line: 27
Function: __construct

File: /var/www/html/bitwasp/application/controllers/Users.php
Line: 284
Function: library

File: /var/www/html/bitwasp/index.php
Line: 275
Function: require_once

[/code]

Contributing (just a question)

Would like to contribute in coding. I have a large amount of experience with PHP, and some with CI - lots with other MVC frameworks though. Anything you can use me for? I love the idea of an open source community maintained anonymous marketplace.

item index failed

if u have some more items and after delete/ban some vendors/items there is a totally mess at the item index with a lot of gaps

update: maybe size of the pics matters ... there is all fine if all pics have the same size ...

confusing hint

the note "Sign and broadcast to complete payment" after step 5 should be deleted in the vendor order tab (escrow) and the buyer purchase tab (up-front). its a little bit confusing especially for new customers/vendors with no/less experience if there nothing to do ...

its dead

hui

i only want know if bitwasp its dead or live

thanks

inbox error (encrypted mail)

user 1 send user 2 mail (encrypted) .... user 2 open inbox and get this:

[code]

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: libraries/Bw_messages.php

Line Number: 175

Backtrace:

File: /var/www/html/bitwasp/application/libraries/Bw_messages.php
Line: 175
Function: _exception_handler

File: /var/www/html/bitwasp/application/controllers/Messages.php
Line: 81
Function: prepare_output

File: /var/www/html/bitwasp/index.php
Line: 275
Function: require_once
[/code]

missing transaction

made some test transfers over the last 2 days. missing one (6. of 10). almost 50 confirmations but still level 2. the funny thing: all 4 transfers after this one are ok. the address is still in the expected payments table at db. dont know what to do.

Won't allow me to set a payout address

Under the account tab.

It says vendors have to set up a payout address before they can list any items, no matter how many bitcoin wallet address I try to add it keeps on saying you must enter a a valid address.

Can anyone tell me why or how to resolve it.

Before I could even access the account tab I had to create my own table called bw_payout_address and add the following columns user_id, time, address. Is there something i'm missing here?

buyer review error

got this after submit review (vendor -> buyer):

Unable to access an error message corresponding to your field name.

Trezor/Ledger m/49'/0'/0' derivation path

I am trying to generate public keys that can be used with a hardware wallet like Ledger/Trezor
by using the xpub.

$hk = HierarchicalKeyFactory::fromExtended($this->xpub, $this->network);
$master = $hk->derivePath("m/49'/0'/3'");
$address = $master->getPublicKey();

$orderAddress = $address->getAddress()->getAddress($this->network);
return dd($orderAddress);````

but I get this error.

Can't derive a hardened key without the private key


/vendor/bitwasp/bitcoin/src/Key/Deterministic/HierarchicalKey.php
    if (($sequence >> 31) === 1) {
        if ($this->isPrivate() === false) {
            throw new \Exception("Can't derive a hardened key without the private key");
        }
Not sure if I am doing something wrong here. 

composer

after installing composer and reload (F5) nothing happend

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.