hyperledger-labs / perun-node

State channel node of the blockchain-agnostic state channels framework Perun.
https://labs.hyperledger.org/perun-doc/
Apache License 2.0
18 stars 12 forks source link

Add support for cosmwasm backend #229

Open manoranjith opened 2 years ago

manoranjith commented 2 years ago

Motivation / Context

Cosmwasm backend and contracts have been released for go-perun. Add support for configuring the perun-node to use the cosmwasm backend.

Description

Core package of the perun-node (session) is blockchain agnostic. However, components like key management, identity management are specific to each blockchain. So, add implementations for managing keys for the cosmos backend.

Also, update the configuration parameters of the node, so that users can easily choose between ethereum or cosmos backend with simple configuration changes.

Relates to

Testing

The end-to-end tests for payment API should work for cosmos backend as well.

Thread Safety

octalmage commented 1 year ago

I would love this!