3

How it's possible to create a valid Manage Buy Offer in Transaction 5 of the crowdfunding example from the stellar smart contracts reference.

The reference quotes:

Manage Buy Offer: Holding account buys participation tokens at a rate of X per token.

But at the time of presigning I don't know how many participation tokens were sold. So which amount should I put into the buy offer?

With the full amount of participation tokens we get op_underfunded and without an amount we get op_malformed.

2
+100

The example isn't valid since Stellar protocol version 10, and simply hasn't been removed.

The example was first published in Q1-2018, and migration to v10 happened in Q3.

Since then, there's a requirement for all offers to be fully backed.

| improve this answer | |
  • Thanks for the explanation. That answers the question. Do you know any strategy to do a crowdfunding on stellar? – d0x Jan 28 at 9:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.