To build the smart contracts simple run
yarn build --filter contracts
from the src directory
To test and develop the smart contracts first you would need to start the docker containers by running
docker compose up -d
This will start a standalone stellar instance where you can deploy and test smart contracts
now you can attach into the docker container by running
bash run.sh
# or
docker exec --tty --interactive defindex-soroban bash
while inside the docker container you can deploy build and test the smart contracts
to build while being inside the container simply run make build
This Turborepo includes the following packages/apps:
docs
: a Next.js appweb
: another Next.js app@repo/ui
: a stub React component library shared by bothweb
anddocs
applications@repo/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)@repo/typescript-config
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build