https://github.com/stellar/scaffold-soroban
Soroban example dapps
https://github.com/stellar/scaffold-soroban
Last synced: about 1 year ago
JSON representation
Soroban example dapps
- Host: GitHub
- URL: https://github.com/stellar/scaffold-soroban
- Owner: stellar
- Created: 2023-05-16T01:47:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T18:53:33.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T12:08:13.067Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.02 MB
- Stars: 271
- Watchers: 19
- Forks: 322
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Soroban Example Dapps
This repository holds examples & patterns for building decentralized applications on Soroban.
The repo is organized using yarn workspaces, and git submodules:
- `@modules/payment-react`: this is an example dapp for making a payment on Soroban ([soroban-react-payment](https://github.com/stellar/soroban-react-payment/))
- `@modules/mint-token`: this is an example dapp for minting a standard token on Soroban (
[soroban-react-mint-token](https://github.com/stellar/soroban-react-mint-token/))
- `@modules/atomic-swap-react`: this is an example dapp for swapping tokens atomically on Soroban (
[soroban-react-atomic-swap](https://github.com/stellar/soroban-react-atomic-swap/))
## Prerequisites
You will need:
- Node (>=16.14.0 <17.0.0): https://nodejs.org/en/download/
- Yarn (v1.22.5 or newer): https://classic.yarnpkg.com/en/docs/install
- Freighter wallet: https://www.freighter.app/
## Getting Started
1. Clone and navigate into the
[Scaffold Soroban repository](https://github.com/stellar/scaffold-soroban/tree/main)
```
git clone git@github.com:stellar/scaffold-soroban.git
cd scaffold-soroban
```
2. Pull the submodules in if this is your first time pulling the repo
```
git submodule update --init --recursive
```
3. Install the dependencies by running the following:
```
yarn
```
4. If you need to update the submodules to the latest, run:
```
git submodule update --remote
```
## Build the Project
```
yarn && yarn build
```
## Starting a Dev Environment
```
yarn && yarn start
```