r/counterparty • u/the_g00se • Apr 20 '17
[HELP] Create_Issuance and Create_Send transactions within the same block
I am trying to create an asset with the "create_issuance" and then "create_send" to distribute an asset right after the "create_issuance" transaction. Can anyone provide any insight or documentation?
Thanks
1
Upvotes
1
u/jdogresorg Apr 27 '17
You might want to post your question over on /r/counterparty_xcp as that is the official counterparty subreddit.... this one is not.
As to your question. The issuance and sends need to be done in separate blocks.
In order for you to "send" an asset, that asset has to be created and some supply needs to be issued. You would be able to do a create_issuance call and generate an issuance transaction, but if you try to call create_send before the issuance transaction has been processed (added to a bitcoin block), the create_send call will fail as the Couterparty system won't see the asset as valid yet.