Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Latest commit

 

History

History
56 lines (31 loc) · 2.4 KB

File metadata and controls

56 lines (31 loc) · 2.4 KB

Development Setup Guide

This guide provides instructions on how to set up your development environment for building on BrickChain.

Prerequisites

Before you begin, ensure you have the following installed:

Smart Contract Development with Compact

BrickChain smart contracts are written in Compact, a language designed for the Midnight network.

Installing Compact

To get started with Compact, we recommend following the official Dev Diary for setting up the developer tools:

This guide will walk you through installing the necessary tools to compile, test, and deploy your Compact smart contracts.

Smart Contract Resources

Frontend Development

For building user interfaces that interact with BrickChain, we recommend using MidnightJS.

MidnightJS

MidnightJS is a JavaScript library that provides a simple and consistent interface for interacting with the Midnight network and smart contracts.

Connecting to Wallets

To connect your DApp to user wallets for read-only functionality and other interactions, you can use the DApp Connector.

Example Projects

To see how everything fits together, check out these example projects and resources:

  • Awesome DApps Repo: A curated list of awesome DApps and resources for the Midnight network.
  • Starter Templates: The awesome-dapps repository contains starter templates to help you get up and running quickly.

Conclusion

With your environment set up, you are now ready to start building on BrickChain. Happy hacking!