Comments (5)
I've improved README. Please take a look. If there are anything you have found unclear and it is not yet covered, please let me know.
from django-cc.
also is there a way to get transaction history for a particular wallet, for example to see all outgoing, incoming and confirmed transactions that have occurred to that particular wallet/address.
from django-cc.
Hi again,
Just a quick question,
I am currently running refill_address_queue
Process_withdraw_transaction and query_transaction as a celery beat task configured in settings and am calling it directly from cc.tasks is this the correct way to have it configured or should I be doing it differently?
Thanks!
Yes, it's correct to run query_transaction and process_withdraw_transaction periodically.
Also, you can call celery task to have immediate action.
For example, user created withdraw transaction, you use celery.app.task.Task.delay
or celery.app.task.Task.apply_async
to run process_withdraw_transaction.
But if you want bunch transactions, to save on fees, you just run it periodically.
from django-cc.
also is there a way to get transaction history for a particular wallet, for example to see all outgoing, incoming and confirmed transactions that have occurred to that particular wallet/address.
wallet.get_operations()
returns list of Operations.
for o in wallet.get_operations():
o.created
o.balance
o.reason.txid
o.reason.address
take a look at cc/models.py Operation for all the fields you can get
from django-cc.
Looks great! Thanks for the help
from django-cc.
Related Issues (20)
- start ui error HOT 4
- Missing documentation? HOT 1
- cant start celery HOT 4
- Support for shielded transactions HOT 3
- Support USDT HOT 1
- celery call cc.tasks.refill_addresses_queue don't work HOT 5
- How i insert this address on a view HOT 37
- When adding a new currency, what should "last_block" be? HOT 1
- refill_address_queue key error HOT 1
- Generation of new address HOT 5
- Improve documentation
- Negative balance HOT 1
- Multisig transactions HOT 1
- monero support HOT 2
- Any plans to add bech32 validator support? HOT 1
- Multi-sig supported? HOT 1
- kkk
- Thread or process safety issues HOT 1
- docker-compose start 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 django-cc.