ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.85k stars 1.37k forks source link

API / Rust library crate #1249

Open casey opened 1 year ago

casey commented 1 year ago

This could be an RPC API, or a Rust library crate, depending on what people want.

tiero commented 1 year ago

gRPC/protobuf would be handy to self-generate client code stubs in almost all languages out there, to allow to integrate ord in as many apps as possible

veryordinally commented 1 year ago

Talked to a wallet developer, a library crate would really help - essentially taking out the "pub crate". @casey we had talked about that months ago (I wanted to use as a library as well), and I remember you had some concerns, that I do not remember.

YaroShkvorets commented 10 months ago

Also could use a library crate.

raphjaph commented 10 months ago

It technically already is a library crate but we haven't designed it in a way that lends itself to be used as a library. We do want to make it more useful though.

I'd be interested to know which parts of the codebase would be most useful for you? Just to know where to start

elix1er commented 10 months ago

bump

YaroShkvorets commented 10 months ago

I'd be interested to know which parts of the codebase would be most useful for you? Just to know where to start

In my case I want to use ParsedEnvelope::from_transaction() but it's private.

raphjaph commented 9 months ago

In my case I want to use ParsedEnvelope::from_transaction() but it's private.

Ok thanks, that is a useful one.

Just going to connect this #2964, which would be the first step.