Comments (7)
Hi
You need to create Wallet
from cc.models import Wallet
wallet = Wallet.objects.create(
currency=currency
)
address = wallet.get_address()
This will give you an address to which you can send funds
from django-cc.
Hi @limpbrains , i have already created wallet using django. but i don'nt know how to do transfer. i found a celery task cc.tasks.process_deposit_transacation. but it requires some params like transaction id, how can i get the transaction id . please point ' i'm new to bitcoin :)
from django-cc.
You need to send bitcoins to address, celery will find this new deposit transaction for you and increase the balance
You don't need to create deposit transaction by hands, it will be created automatically
from django-cc.
How to can i send the bitcoin to that address ? through django or bitcoin qt ?
from django-cc.
bitcoin qt, or any other bitcoin wallet
from django-cc.
can i send the bitcoin using django? i can see some methods in Wallet model
from django-cc.
Yes, you can use wallet.withdraw
But it doesn't make sense, deposit transaction should income outside of django app
Imagine you are building web wallet app for users. They can create a wallet, deposit funds using their local bitcoin wallet. And withdraw them, when needed.
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
- running celery tasks as celery beat task 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.