paltalabs / defindex

0 stars 1 forks source link

DeFindex Monorepo

Smart contracts

To build the smart contracts simple run

yarn build --filter contracts

from the src directory

development

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

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

Each package/app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

Build

To build all apps and packages, run the following command:

cd my-turborepo
pnpm build