This turborepo uses pnpm as a package manager. It includes the following packages/apps:
contracts
: smart contracts developed with Solidity and Foundryeslint-config-custom
:eslint
configurations (includeseslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepoapp
: the main app for the DCA
Each package/app is 100% TypeScript.
Install pnpm if not installed. Clone the monorepo:
git clone [email protected]:ImpeccableHQ/stackly.git
Generate contracts before building the SDK
cd packages/sdk
pnpm run typechain
Then go to the root folder of the monorepo and build the SDK
cd ../..
pnpm run build --filter=dca-sdk
Then run the CRA
cd packages/app
pnpm run start
Get an API key from https://www.alchemy.com/ and add an .env file under app with your API key.
REACT_APP_ALCHEMY_KEY="your_key"