Closed martianatwork closed 4 years ago
Hey. Since version 6.x you have a meta
field in your wallet. Any information can be written into it.
If you need to add your own field, then I see no problem adding from your side. On the library side, it will not be correct to solve this problem.
You can resort to writing a public extension to the package, here are examples: | Extension | Description |
---|---|---|
Swap | Addition to the laravel-wallet library for quick setting of exchange rates | |
Vacuum | Addition to the laravel-wallet library for quick fix race condition |
Enough time has passed, I close it.
Currently we can achieve this by creating another wallet for locked balance but when we have to deal with multiple currencies its a mess.
We can simply add a locked column after balance and add ability to lock the balance from the
balance
column, and possibly create a transfer entry to record it.This will be very useful in some cases and should work fine for people who are not using it.