https://github.com/perun-network/perun-soroban-contract
Peer-to-peer payment channels on Stellar
https://github.com/perun-network/perun-soroban-contract
blockchain layer2 payment-channel perun soroban state-channel stellar
Last synced: 5 months ago
JSON representation
Peer-to-peer payment channels on Stellar
- Host: GitHub
- URL: https://github.com/perun-network/perun-soroban-contract
- Owner: perun-network
- License: apache-2.0
- Created: 2023-07-03T15:35:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T12:03:28.000Z (over 1 year ago)
- Last Synced: 2025-04-08T12:35:02.086Z (over 1 year ago)
- Topics: blockchain, layer2, payment-channel, perun, soroban, state-channel, stellar
- Language: Rust
- Homepage: https://perun.network/
- Size: 424 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Perun Soroban Contract
## Overview
Perun's Generalized State Channels Framework uses a set of interconnected smart contracts to define the on-chain logic for channel deposits, disputes, settlements and withdrawals.
For more detailed information, check out the [documentation](https://labs.hyperledger.org/perun-doc/index.html).
# [Perun](https://perun.network/) Soroban Contract
This repository contains the [Soroban](https://soroban.stellar.org/docs) smart contracts for [go-perun](https://github.com/hyperledger-labs/go-perun)'s [Stellar Backend](https://github.com/perun-network/perun-stellar-backend).
Additionally, it allows cross-contract swaps with the [Ethereum Contract](https://github.com/hyperledger-labs/perun-eth-contracts) by leveraging ethereum specific cryptographic schemes to validate the Perun Channels.
Build contract:
``` sh
cargo build
```
Run tests:
``` sh
cargo test
```
To use this Payment Channel contract on the Stellar blockchain, you also need to use our [Perun Stellar Backend](https://github.com/perun-network/perun-stellar-backend).
# Copyright
Copyright 2024 PolyCrypt GmbH. Use of the source code is governed by the Apache 2.0 license that can be found in the [LICENSE file](LICENSE).