Comments (10)
@Peektower hello. Let's continue here.
from laravel-wallet.
- I don't understand what tag is. Can you describe your architecture?
- The wallet must have the currency stamped on it.
a) Multi-wallets:
laravel-wallet/tests/Units/Domain/ExchangeTest.php
Lines 92 to 98 in febd97b
b) default wallet (any wallet. also suitable for multi-wallets):
$wallet->meta['currency'] = 'USD';
$wallet->save();
from laravel-wallet.
@Peektower I deleted your message in the next issue. Let's discuss separately. You have different problems.
from laravel-wallet.
from laravel-wallet.
You need to add the currency type to the meta and everything will start working.
from laravel-wallet.
@Peektower Did you succeed? If not, then write. I'll make some detailed example.
from laravel-wallet.
from laravel-wallet.
@Peektower The laravel-wallet-swap package works on top of the https://github.com/florianv/laravel-swap package, so all package providers (api providers and more) are available to you.
https://github.com/florianv/laravel-swap?tab=readme-ov-file#services
from laravel-wallet.
from laravel-wallet.
@Peektower Hello.
The transaction does not have a sender, the transfer does.
Example:
laravel-wallet/tests/Units/Domain/EagerLoadingTest.php
Lines 61 to 69 in addf969
And from the wallet you can get the owner of the wallet.
from laravel-wallet.
Related Issues (20)
- [Warning] Infinity loop when use traits HasWallet HOT 1
- hello i found this error in new version HOT 3
- package not installed with laravel 10.37 HOT 4
- I want to transfer fractional value HOT 3
- Need this for Multi-Tenancy (Teams) HOT 7
- Wallet check sum and transactions block summary so transactions can be archived and validate HOT 1
- Error After Upgrade from 6.x to 7.X HOT 2
- ULIDs Support. HOT 1
- Why is a new wallet generated when making a purchase? HOT 2
- The "buy" function only accepts integer data HOT 2
- How can new columns be added in transactions in version 10.x? HOT 4
- Facing issue whille retreive user wallat HOT 7
- How can one perform a transfer of funds with a deduction of fees from the destination wallet in version 10.x? HOT 10
- In the exchange, how do I convert currency with a dynamic exchange rate? HOT 4
- The decimal value is converted to an integer in the transfer HOT 6
- What is the most reliable way to exchange and transfer at the same time? HOT 3
- Can a new field be added to the transfer table? HOT 6
- How Filter transactions HOT 17
- docsify-4.13.1.tgz: 3 vulnerabilities (highest severity is: 7.5) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-wallet.