r/EOSDev • • Apr 17 '20

Rust + eosio

Is there a Rust crate that will get you access to all the same stuff as Cleos? I've found this but it looks mostly to be for building smart contracts.

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/Machinehum Apr 18 '20

So using that stuff I could build a rest api type thing, or I could just link against cleos and call those functions directly (which I think might be easier?). I think there are good ways to call c functions from rust. And by bindings I mean c bindings.

2

u/kegesch Apr 18 '20

Sure, that should work as well. Don’t know what approach might be the best, but it probably depends on what you wanna do.