Skip to content

Writing DIDs to chain using the blockfrost API #2

@bsandmann

Description

@bsandmann

Currently, DIDs are written to the chain using the Cardano-Wallet. That means a Signed-Atala-Operation is prepared by the OPN and then wrapped into a signed transaction using the Cardano Wallet. The wallet then sends it to the chain using the underlying Cardano Node. This process works well but requires a complicated setup.

It would be great if we could use the Blockfrost API to send a transaction to the chain. See the API documentation (here)[https://docs.blockfrost.io/#tag/cardano--transactions/POST/tx/submit). While the sending itself is trivial, it would require the creation of a wallet within the OPN, as well as syncing and maintaining the wallet addresses. Most of that is currently handled by the Cardano Wallet. Hooking up an internal wallet to the Blockfrost API is possible but would require a non-trivial amount of engineering as an additional way of writing to the chain.

On one hand, this would allow the OPN to run without any other dependencies; on the other hand, it would make the project even more complicated.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions