https://github.com/chatch/stellar-contracts
Stellar contract examples and components
https://github.com/chatch/stellar-contracts
blockchain react smart-contracts stellar tokens
Last synced: 8 months ago
JSON representation
Stellar contract examples and components
- Host: GitHub
- URL: https://github.com/chatch/stellar-contracts
- Owner: chatch
- License: apache-2.0
- Archived: true
- Created: 2017-07-01T23:15:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-22T14:56:02.000Z (about 3 years ago)
- Last Synced: 2024-10-03T12:18:51.286Z (over 1 year ago)
- Topics: blockchain, react, smart-contracts, stellar, tokens
- Language: JavaScript
- Homepage:
- Size: 202 KB
- Stars: 41
- Watchers: 4
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
[](https://travis-ci.org/chatch/stellar-contracts)
https://stellar-contracts.herokuapp.com
This site presents smart contract patterns for the [Stellar Network](https://stellar.org). See [this post](https://www.stellar.org/blog/multisig-and-simple-contracts-stellar/) 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
```