# exothium-dao

> Exothium dev tools

Latest version **0.0.3** (published 2023-01-18) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install exothium-dao
pnpm add exothium-dao
yarn add exothium-dao
bun add exothium-dao
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2023-01-18 |
| First published | 2023-01-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | metronomy |

## Links

- npm: https://www.npmjs.com/package/exothium-dao
- Repository: https://github.com/exothium/exothium-dao
- Homepage: https://github.com/exothium/exothium-dao#readme
- Issues: https://github.com/exothium/exothium-dao/issues
- npm.io page: https://npm.io/package/exothium-dao

## Recent versions

- 0.0.3 (latest) — 2023-01-18
- 0.0.2 — 2023-01-18
- 0.0.1 — 2023-01-18

## README

# Exothium-DAO

[![npm version](https://badge.fury.io/js/exothium-dao.svg)](https://badge.fury.io/js/exothium-dao)

Exothium-DAO is a JavaScript library that allows developers to interact with the Exothium DAO core contracts on Starknet.
Every project that intends to interact with game contracts or DAO contracts can use this library to quickly and easily interact with the,.

## Goals
- ✅ Allow developers to easily interact with the Exothium DAO core contracts on Starknet.
- ✅ Lightweight and easy to use.
- ✅ Open source and free to use.

## Future Goals
- Add Dao contract mechanics
- Add ExoWorld game contracts mechanics

## Installation

```bash
npm install exothium-dao
```

## Usage

To connect a wallet (e.g. Braavos or ArgentX), you need to use the `starknetConnect` function.

```javascript
    import {starknetConnect, starknetDisconnect, ownerOfExothian} from 'exothium-dao';

    const connect = async () => {
        await starknetConnect();
    }
```

To disconnect a wallet, you need to use the `starknetDisconnect` function.

```javascript
const disconnect = async () => {
    await starknetDisconnect();
}
```

To get the owner of an Exothian, you need to use the `ownerOfExothian` function.

```javascript
const owner = await ownerOfExothian(1); //get owner of Exothian with id 1
```

---
_Source: https://npm.io/package/exothium-dao · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
