Code Monkey home page Code Monkey logo

perun-stellar-demo's Introduction


Perun

Perun Stellar Demo

This repository contains the Perun Stellar demo client, which utilizes the go-perun channel library, and also the Stellar payment channel backend

Setup

Clone this repository:

  $ git clone https://github.com/perun-network/perun-stellar-demo.git

Spin up the local Stellar blockchain, serving as a local testnet for demonstration purposes.

  $ ./quickstart.sh standalone

This will start the Stellar, Horizon and Soroban nodes in the background. This is the platform on which we deploy the Stellar Asset Contract (SAC), and the Perun Payment Channel contract. This allows us to create and utilize L2 channels on Stellar for any customized Stellar asset tokens,

Using the demo

You can start the demo by simply running

  $ go run main.go

The accounts used in the demo are generated randomly and funded at the initialization stage of the demo.

At the beginning, you will be greeted with a demo window that is split into two panes. You can play around with the different functions of the demo by using the keybinds listed below.

Keybinds

  • ctrl+a: Select left pane
  • ctrl+b: Select right pane
  • tab: Cycle through selectable fields
  • Enter: Select or confirm highlighted field
  • r: Go back to parent page
  • q: Close the demo

Exiting the demo

You can exit the demo by pressing q at any time. Afterwards, you can simply stop the kickstart.sh script with ctrl+c.

Copyright

Copyright 2023 PolyCrypt GmbH. Use of the source code is governed by the Apache 2.0 license that can be found in the LICENSE file.

perun-stellar-demo's People

Contributors

iljabvh avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.