# unigov-sim

Latest version **1.0.3** (published 2023-10-12) · 0 weekly downloads

## Install

```sh
npm install unigov-sim
pnpm add unigov-sim
yarn add unigov-sim
bun add unigov-sim
```

Provides the command `unigov-sim`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-10-12 |
| First published | 2023-10-11 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 74 |
| Unpacked size | 969.5 KB |
| Known vulnerabilities | 0 (+40 in 3 direct dependencies) |
| Install scripts | no |
| Maintainers | azizaiden |

## Links

- npm: https://www.npmjs.com/package/unigov-sim
- npm.io page: https://npm.io/package/unigov-sim

## Dependencies (74)

- [ora](https://npm.io/package/ora.md) ^7.0.1
- [zod](https://npm.io/package/zod.md) ^3.22.2
- [clsx](https://npm.io/package/clsx.md) ^1.2.1
- [cmdk](https://npm.io/package/cmdk.md) ^0.2.0
- [next](https://npm.io/package/next.md) 13.4
- [uuid](https://npm.io/package/uuid.md) ^9.0.1
- [viem](https://npm.io/package/viem.md) ~1.12.2
- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [react](https://npm.io/package/react.md) 18.2.0
- [wagmi](https://npm.io/package/wagmi.md) 1.4.2
- [dotenv](https://npm.io/package/dotenv.md) ^16.3.1
- [ethers](https://npm.io/package/ethers.md) ^5.4.6
- [abitype](https://npm.io/package/abitype.md) ^0.9.8
- [date-fns](https://npm.io/package/date-fns.md) ^2.30.0
- [inquirer](https://npm.io/package/inquirer.md) ^9.2.11
- [prettier](https://npm.io/package/prettier.md) ^3.0.3
- [commander](https://npm.io/package/commander.md) ^11.0.0
- [react-dom](https://npm.io/package/react-dom.md) 18.2.0
- [react-rnd](https://npm.io/package/react-rnd.md) ^10.4.1
- [micro-ftch](https://npm.io/package/micro-ftch.md) ^0.3.1
- [rehype-raw](https://npm.io/package/rehype-raw.md) ^7.0.0
- [@types/node](https://npm.io/package/@types/node.md) 18.13.0
- [@types/react](https://npm.io/package/@types/react.md) 18.0.28
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^10.4.16
- [lucide-react](https://npm.io/package/lucide-react.md) ^0.112.0
- [framer-motion](https://npm.io/package/framer-motion.md) ^9.1.7
- [react-markdown](https://npm.io/package/react-markdown.md) ^9.0.0
- [tailwind-merge](https://npm.io/package/tailwind-merge.md) ^1.14.0
- [react-hook-form](https://npm.io/package/react-hook-form.md) ^7.46.1
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) 18.0.10
- [react-day-picker](https://npm.io/package/react-day-picker.md) ^8.8.2
- [react-responsive](https://npm.io/package/react-responsive.md) ^9.0.2
- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) ^1.0.1
- [react-code-blocks](https://npm.io/package/react-code-blocks.md) ^0.1.4
- [@ethersproject/abi](https://npm.io/package/@ethersproject/abi.md) ^5.7.0
- [eslint-config-next](https://npm.io/package/eslint-config-next.md) ^13.5.5-canary.4
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) ^1.8.2
- [@hookform/resolvers](https://npm.io/package/@hookform/resolvers.md) ^3.3.1
- [tailwindcss-animate](https://npm.io/package/tailwindcss-animate.md) ^1.0.7
- [@radix-ui/react-slot](https://npm.io/package/@radix-ui/react-slot.md) ^1.0.2
- [@radix-ui/react-tabs](https://npm.io/package/@radix-ui/react-tabs.md) ^1.0.4
- [@uiw/react-md-editor](https://npm.io/package/@uiw/react-md-editor.md) ^3.23.6
- [@radix-ui/react-icons](https://npm.io/package/@radix-ui/react-icons.md) ^1.3.0
- [@radix-ui/react-label](https://npm.io/package/@radix-ui/react-label.md) ^2.0.2
- [@radix-ui/react-toast](https://npm.io/package/@radix-ui/react-toast.md) ^1.1.4
- [@radix-ui/react-avatar](https://npm.io/package/@radix-ui/react-avatar.md) ^1.0.3
- [@radix-ui/react-dialog](https://npm.io/package/@radix-ui/react-dialog.md) ^1.0.4
- [@radix-ui/react-select](https://npm.io/package/@radix-ui/react-select.md) ^1.2.2
- [@radix-ui/react-slider](https://npm.io/package/@radix-ui/react-slider.md) ^1.1.2
- [@radix-ui/react-switch](https://npm.io/package/@radix-ui/react-switch.md) ^1.0.3
- [@radix-ui/react-toggle](https://npm.io/package/@radix-ui/react-toggle.md) ^1.0.3
- [@rainbow-me/rainbowkit](https://npm.io/package/@rainbow-me/rainbowkit.md) ^1.0.11
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^9.0.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^5.0.0
- [@radix-ui/react-menubar](https://npm.io/package/@radix-ui/react-menubar.md) ^1.0.3
- [@radix-ui/react-popover](https://npm.io/package/@radix-ui/react-popover.md) ^1.0.6
- [@radix-ui/react-tooltip](https://npm.io/package/@radix-ui/react-tooltip.md) ^1.0.6
- [@ethersproject/contracts](https://npm.io/package/@ethersproject/contracts.md) ^5.7.0
- [@ethersproject/providers](https://npm.io/package/@ethersproject/providers.md) ^5.7.2
- [@radix-ui/react-checkbox](https://npm.io/package/@radix-ui/react-checkbox.md) ^1.0.4
- [@radix-ui/react-progress](https://npm.io/package/@radix-ui/react-progress.md) ^1.0.3
- [class-variance-authority](https://npm.io/package/class-variance-authority.md) ^0.7.0
- [@radix-ui/react-accordion](https://npm.io/package/@radix-ui/react-accordion.md) ^1.1.2
- [@radix-ui/react-separator](https://npm.io/package/@radix-ui/react-separator.md) ^1.0.3
- [eslint-plugin-tailwindcss](https://npm.io/package/eslint-plugin-tailwindcss.md) ^3.13.0
- [@radix-ui/react-hover-card](https://npm.io/package/@radix-ui/react-hover-card.md) ^1.0.6
- [@radix-ui/react-collapsible](https://npm.io/package/@radix-ui/react-collapsible.md) ^1.0.3
- [@radix-ui/react-radio-group](https://npm.io/package/@radix-ui/react-radio-group.md) ^1.1.3
- [@radix-ui/react-scroll-area](https://npm.io/package/@radix-ui/react-scroll-area.md) ^1.0.4
- [@radix-ui/react-alert-dialog](https://npm.io/package/@radix-ui/react-alert-dialog.md) ^1.0.4
- [@radix-ui/react-aspect-ratio](https://npm.io/package/@radix-ui/react-aspect-ratio.md) ^1.0.3
- [@radix-ui/react-context-menu](https://npm.io/package/@radix-ui/react-context-menu.md) ^2.1.4
- [@radix-ui/react-dropdown-menu](https://npm.io/package/@radix-ui/react-dropdown-menu.md) ^2.0.5
- [@radix-ui/react-navigation-menu](https://npm.io/package/@radix-ui/react-navigation-menu.md) ^1.1.3

## Recent versions

- 1.0.3 (latest) — 2023-10-12
- 1.0.2 — 2023-10-11
- 1.0.1 — 2023-10-11
- 1.0.0 — 2023-10-11

## README

## **Unigov-Sim: Proposal Simulation Tool**


**Unigov-Sim** is a one-stop app to simulate the outcomes of proposals before submitting them to Governor Bravo implementation. We provide a smooth interface, along with automated ABI parsing for target contracts and type checking for functions supported.

### **Quick Start**
Requirements:

- Node 18+ (
  [install nvm](https://github.com/nvm-sh/nvm#installing-and-updating) and then run `nvm use --lts` to uprade to node 18.)
- Npm 8+

<!-- Reqs make sure node 18+ is installed, nvm use --lts to install node 18 -->


To get started, utilize this quick one-liner setup:

```bash
npx create unigov-sim@latest
```


Follow the steps to add your API keys and Governance contract address to get started.

### **Features**

- **Intuitive UI**: Navigate through multiple steps with ease, back and forth, make edits to your proposals without losing state.
- **Smart Error Handling**: It verifies your account is connected and has enough votes to submit the proposal.
- **Dynamic ABI Parsing and Input Typings**: Parse and display the functions for verified target contracts.
- **Enhanced Simulation**: Simulate the outcome of your proposal and visualize state changes and events triggered on chain.

### Links

- Live Site URL: [https://playground.unigov.live/](https://playground.unigov.live/)

## Author

- Aiden A. (https://github.com/0xaaiden/)

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