chatch / stellar-contracts

Stellar contract examples and components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: ARCHIVED - This old repository presented patterns for working with what Stellar "basic" contracts at the time. However Stellar is now introducing Soroban contracts which are much more advanced smart contracts. Archiving this first because no activity but second to avoid confusion with the new contracts.

stellar-contracts

Build Status

https://stellar-contracts.herokuapp.com

This site presents smart contract patterns for the Stellar Network. See this post for some background on contracts on Stellar.

Each contract can be deployed to the Stellar Network using the contract forms. You'll receive a JSON receipt with details of transactions, accounts created, etc.

Contract forms are React components that are reusable in other sites (i will add an example setup for this). This means you could easily drop one of these into your React or Angular (via ngReact) wallet to provide one of the contract setups to your users.

Get started

npm install
npm start

About

Stellar contract examples and components

License:Apache License 2.0


Languages

Language:JavaScript 98.9%Language:HTML 0.7%Language:CSS 0.4%