vulpemventures / ocean

:ocean: Elements/Liquid wallet daemon
MIT License
5 stars 7 forks source link

Api spec v2 #2

Closed sekulicd closed 2 years ago

sekulicd commented 2 years ago

This adds api spec of the wallet daemon. Purpose of a daemon is to run as a sidecar for other applications and removes 'heavy burden' of maintaining internal wallet. Protobuf files are splitted into 4 files that I see as main features of the wallet. Wallet -> covers creation/restore of wallet Account -> covers creation on addresses, tracking balance and uspents for specific account Transaction -> used for crafting various types of transactions Notification -> defines rpc's that are to be used for fetching notification.

This PR contains changes compared to PR#1 related to comments. Needed to fork again repo cause repo's name changed in the meantime. PR #1 should be closed.

@tiero @altafan please review.