BuyOwnEx / BOEClient

Laravel b2b cryptocurrency exchange
MIT License
24 stars 17 forks source link

Need help with testing #27

Open BuyOwnEx opened 3 years ago

BuyOwnEx commented 3 years ago

Any issues are wellcome

d1ggy1bh commented 2 years ago

Hi! when i try to deploy this , it showing image

BuyOwnEx commented 2 years ago

Database is MySQL or PostgreSQL?

d1ggy1bh commented 2 years ago

MySQL. it needs PostgreSQL?

BuyOwnEx commented 2 years ago

Generally, you can use any database that supports Laravel

In your case (MySQL) you have some limitations

https://dev.mysql.com/doc/refman/8.0/en/create-index.html

Prefix support and lengths of prefixes (where supported) are storage engine dependent. For example, a prefix can be up to 767 bytes long for InnoDB tables that use the REDUNDANT or COMPACT row format. The prefix length limit is 3072 bytes for InnoDB tables that use the DYNAMIC or COMPRESSED row format. For MyISAM tables, the prefix length limit is 1000 bytes. The NDB storage engine does not support prefixes (see Section 23.2.7.6, “Unsupported or Missing Features in NDB Cluster”).

BuyOwnEx commented 2 years ago

To fix this issue you can do the same as in this topic

https://github.com/laravel/laravel/pull/4077

d1ggy1bh commented 2 years ago

now, still turn to this! when i using php artisan migrate this command image

BuyOwnEx commented 2 years ago

Do

php artisan migrate:reset

and then again

php artisan migrate

d1ggy1bh commented 2 years ago

can you show me your demo version link ? your website exchange demo can't open it i really want to see how is going. thanks

BuyOwnEx commented 2 years ago

https://demo.buyownex.com/trading/USDT/BTC

therahuljaiswal commented 11 months ago

Here is why we can't control deposit and withdrawals. If I want to build a deposit and withdrawal then how i can do it with your code?

BuyOwnEx commented 11 months ago

Here is why we can't control deposit and withdrawals. If I want to build a deposit and withdrawal then how i can do it with your code?

This repo is white label for BuyOwnEx complex decision. If you want to form withdrawal, for example, you can use _withdraw_cryptorequest route (./routes/web.php line 103) If you want to deposit funds, you need only assigned address and you can get it via _getaddress route (./routes/web.php line 136)

therahuljaiswal commented 10 months ago

Thank you I got it. I have one more question About it , When registering any user all crypto wallets are auto-created like Binance or other websites. if is automatically created then we can deposit currencies in the wallet and start trading.

BuyOwnEx commented 10 months ago

Crypto addresses are not auto-created and assigned when user registered. They are created and assigned via first request at _getaddress route. But want to notice, that you get answer (user`s new crypto address) via websocket. After that you can deposit at this address and start trading

therahuljaiswal commented 10 months ago

hi @BuyOwnEx I am facing an issue your API server port is not working SERVER=http://65.108.71.47:18888 Could you help ?

therahuljaiswal commented 10 months ago

image_2023_10_20T05_56_41_953Z

therahuljaiswal commented 10 months ago

And also I am upgrade Laravel 7 to 10 version.

BuyOwnEx commented 10 months ago

hi @BuyOwnEx I am facing an issue your API server port is not working SERVER=http://65.108.71.47:18888 Could you help ?

updated server hostname and api keys in last commit

BuyOwnEx commented 10 months ago

And also I am upgrade Laravel 7 to 10 version.

Soon, I`ll release new branch for Laravel 10 + Vite

therahuljaiswal commented 10 months ago

Your new server is also not working : https://api.buyownex.com/

Screenshot 2023-10-23 at 1 53 39 PM
BuyOwnEx commented 10 months ago

https://api.buyownex.com/v1/ping - test for availibility Also, you have to work with this api through BuyOwnEx library (https://github.com/BuyOwnEx/BOEClient/blob/master/app/Library/BuyOwnExClientAPI.php)