End-to-end testing for the INTMAX network using TypeScript and Rust, covering integration, performance, and reliability checks to ensure smooth interaction between dApps and the network, including wallet operations, token transfers, balance queries, and cross-chain interactions.
Before running any service, make sure to:
# Install dependencies
yarn
# Copy environment variables
cp .env.example .env
# Build shared packages
yarn build:sharedStart the processor or job service in development mode:
# activity
yarn workspace activity dev
# deposit
yarn workspace deposit dev
# withdraw
yarn workspace withdraw dev
# transfer
yarn workspace transfer devThe project uses Vitest for testing. Run tests with the following commands:
# Run all tests
yarn test
# Run tests in watch mode
yarn test --watch
# Run tests with coverage report
yarn coverageDeployments are automated via Cloud Build when changes are pushed or merged into specific branches.
| Branch | Environment |
|---|---|
dev |
Development |
stage |
Staging(Testnet) |
main |
Production(Mainnet) |
Build and run the project in a Docker container:
docker build -f docker/Dockerfile -t intmax2-e2e .
docker run --rm -p 3000:3000 --env-file .env intmax2-e2e workspace activity startSee the documentation for details on available environment variables and how to configure endpoints. This configuration allows you to integrate INTMAX2 blockchain data into your applications.