Skip to content

burnt-labs/xion.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a76943d · Mar 12, 2025
Mar 12, 2025
Feb 14, 2025
Dec 5, 2023
Mar 12, 2025
Mar 12, 2025
Dec 15, 2023
Dec 5, 2023
Jun 13, 2024
Mar 5, 2025
Mar 12, 2025
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Aug 5, 2024

Repository files navigation

xion.js

This is the official xion.js repo.

What's inside?

Apps and Packages

  • demo-app: a Next.js app with Tailwind CSS
  • abstraxion: account abstraction react package built for XION
  • constants: utility package for shared constants
  • signers: utility package for account abstraction classes built on top of cosmjs
  • ui: a React component library with Tailwind CSS
  • eslint-config-custom: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • tsconfig: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Building packages/ui

This example is setup to build packages/ui and output the transpiled source and compiled styles to dist/. This was chosen to make sharing one tailwind.config.js as easy as possible, and to ensure only the CSS that is used by the current application and its dependencies is generated.

Another option is to consume packages/ui directly from source without building. If using this option, you will need to update your tailwind.config.js to be aware of your package locations, so it can find all usages of the tailwindcss class names.

For example, in tailwind.config.js:

  content: [
    // app content
    `src/**/*.{js,ts,jsx,tsx}`,
    // include packages if not transpiling
    "../../packages/**/*.{js,ts,jsx,tsx}",
  ],

Utilities Used

This Turborepo has some additional tools already setup for you: