Giter Site home page Giter Site logo

input-output-hk / marlowe-ts-sdk Goto Github PK

View Code? Open in Web Editor NEW
21.0 13.0 10.0 31.1 MB

Marlowe TypeScript SDK

Home Page: https://marlowe.iohk.io/

License: Apache License 2.0

TypeScript 96.21% JavaScript 3.37% Nix 0.42%
cardano fp-ts input-output marlowe marlowe-contracts smart-contract

marlowe-ts-sdk's Introduction

Logo
Lightweight and typesafe SDK for writing Marlowe Contracts

Beta

Important

This Marlowe repository will soon be moved to https://github.com/marlowe-lang. The new repositories will be administered by an independent vehicle, a not-for-profit organization currently being set up by the transition team.
This will allow us to ensure community representation and stewardship. Future developments and support for Marlowe are transitioning to a community-driven model initially led by Simon Thompson, Nicolas Henin and Tomasz Rybarczyk.
See here for details.

The Marlowe TS-SDK is a suite of TypeScript/JavaScript libraries for developing Web-Dapp in the Cardano Blockchain using Marlowe Technologies.

It is composed of several npm packages documented in the API reference page.

Runtime

In order to interact with Marlowe contracts, the TS-SDK needs a Runtime instance. The following table shows the compatibility between the SDK and the Runtime versions:

runtime v0.0.5 runtime v0.0.6 runtime v1.0.0
SDK 0.2.0-beta x x
SDK 0.3.0-beta x
SDK 0.4.0-beta

To get a running instance of the Runtime, it is recommended to check out the instructions on the Marlowe Starter Kit

Wallets

CIP-30 and Browser

The TS-SDK has a CIP-30 abstraction that works with the following wallets:

Wallets Compatible Not Compatible Not Tested
Nami
Eternl
Lace
Yoroi ?
Typhon ?

Lucid and NodeJS

The SDK also provides a wrapper around the Lucid Library. This allows you to use the SDK in a NodeJS environment.

Examples & Contract Use Cases

Inside the examples folder you can find a set of minimal examples on how to use different packages of the SDK.

Prototypes have been also built on top of this sdk:

Community & Support

Contributing

To report a bug or request a new feature, please look through existing Github Issues before opening a new one.

To help in the development of this SDK, please refer to this document.

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.