astroband / ruby-stellar-base

The stellar-base library is the lowest-level stellar helper library. It consists of classes to read, write, hash, and sign the xdr structures that are used in stellar-core
Apache License 2.0
21 stars 19 forks source link

A high-level example of creating and submitting a allow_trust operation #44

Closed prodoxx closed 5 years ago

prodoxx commented 6 years ago

This is an example of using a higher level allow_trust operation. This assumes that a stellar account is already created and a trust-line to an anchor's asset has been established.

I found this example missing in the examples folder while trying to achieve this in my project, so it might help anyone who is having a difficult time trying to figure it out.

ramontayag commented 5 years ago

Thanks @prodoxx. Will merge this in. So that examples live in specs, I'd like to eventually move the examples to specs and just point to people to the specs to see examples.