Skip to content

berzanorg/xane-rollup

Repository files navigation

Xane Rollup

Visit https://xanedocs.pages.dev/ for more info.

This repository contains the source code of Xane, a rollup on top of Mina Protocol with its own AMM.

This project is licensed under GPL.

I use Node.js, TypeScript and o1js to develop a rollup and a rollup client. I also use Svelte and SvelteKit to develop a frontend for Xane. I use pnpm for monorepo management and Starlight for docs.

You can find detailed information about Node.js, TypeScript, o1js, Svelte, SvelteKit, pnpm and Starlight below.

Node.js

Node.js is an open-source and cross-platform JavaScript runtime environment.

https://nodejs.org/en/learn/getting-started/introduction-to-nodejs

TypeScript

TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.

https://www.typescriptlang.org/docs/

o1js

o1js is a TypeScript library for writing general-purpose zk programs and zk smart contracts for Mina.

https://docs.minaprotocol.com/zkapps/o1js

Svelte

Svelte is a new way to build web applications.

It's a compiler that takes your declarative components and converts them into efficient JavaScript that surgically updates the DOM.

https://svelte.dev/docs/introduction

SvelteKit

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte

If you're coming from React, SvelteKit is similar to Next. If you're coming from Vue, SvelteKit is similar to Nuxt.

https://kit.svelte.dev/docs/introduction

pnpm

pnpm is a fast, disk space efficient package manager that is an alternative to npm.

https://pnpm.io/motivation

Starlight

Starlight is a full-featured documentation website generator.

https://starlight.astro.build/

Usage

Install All Dependencies

$ pnpm install

Build The Client

$ pnpm build:client

Build The Docs

$ pnpm build:docs

Build The Frontend

$ pnpm build:frontend

Build The Packages

$ pnpm build:packages

Develop The Docs

$ pnpm dev:docs

Develop The Frontend

$ pnpm dev:frontend

Clean All Dependencies & All Builds

$ pnpm clean

Format

$ pnpm format

Lint

$ pnpm lint

Test

$ pnpm test

Note

Built with love, sweat and tears by Berzan.