A robust backend service built with TypeScript and Express.js for Cardano EasyDev VsTool, featuring Cardano blockchain integration using Lucid.
- Node.js (v18 or higher)
- pnpm (recommended)
-
Clone the repository:
git clone <repository-url> cd cardano-easydev-vs-tool-be
-
Install dependencies:
pnpm install
-
Create environment file:
cp .env.example .env
-
Configure your environment variables in
.env
pnpm start
- Start the production serverpnpm build
- Build the TypeScript codepnpm dev
- Start development server with hot-reloadpnpm lint
- Run ESLintpnpm test
- Run Jest tests
src/
├── app.ts # Express app configuration
├── server.ts # Server entry point
├── config/ # Configuration files
├── controllers/ # Request handlers
├── dto/ # Data Transfer Objects
├── middleware/ # Express middlewares
├── models/ # Database models
├── pkg/ # Shared packages
├── routes/ # API routes
├── services/ # Business logic
├── tests/ # Test files
├── types/ # TypeScript type definitions
└── utils/ # Utility functions
- Generate private key
- Generate seed phrase
- Connect wallet using private key
- Connect wallet using seed phrase
- Get UTXOs (using Lucid)
- Get UTXOs by address
- Get NFTs by address
- Get transactions by address
- Get public key hash
- Get contract address
- Execute transaction
- Generate DApp template
- Ensure you have the prerequisites installed
- Follow the installation steps
- Create a new branch for your feature
- Write and test your code
- Submit a pull request