btcsuite / btcutil

Provides bitcoin-specific convenience functions and types
477 stars 410 forks source link

Create multiple example for btcutil #144

Closed codemaveric closed 3 years ago

codemaveric commented 5 years ago

I was wondering if I can contribute by creating example directory with multiple example on how to use btcsuite to get address balance, create and sign transactions e.t.c

thanks in advance

onyb commented 4 years ago

@codemaveric It's always a good idea to write more docs and examples, especially for a project like btcutil which is used as a library by a lot of projects. Additionally, if we have good examples in example_test.go files within different packages, they'll show up beautifully on pkg.go.dev.

This is something bitcoinj does quite well, but I think we can do better. :)

jcvernaleo commented 3 years ago

Going to close this issue since it is very old and I think it is answered, but just to reiterate, @codemaveric any examples would be very welcome so if you are still around, PR, talk to us, hit us up on irc, anything like that. We love contributions and examples are good contributions.