Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nethermindeth/starknet-abi-form
Starknet ABI Form
https://github.com/nethermindeth/starknet-abi-form
abi-forms cairo form-validation-cairo starknet starknet-react
Last synced: about 2 months ago
JSON representation
Starknet ABI Form
- Host: GitHub
- URL: https://github.com/nethermindeth/starknet-abi-form
- Owner: NethermindEth
- License: apache-2.0
- Created: 2023-08-28T22:29:08.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-08-19T18:42:50.000Z (5 months ago)
- Last Synced: 2024-08-19T22:06:12.160Z (5 months ago)
- Topics: abi-forms, cairo, form-validation-cairo, starknet, starknet-react
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/starknet-abi-forms
- Size: 1.29 MB
- Stars: 3
- Watchers: 9
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Starknet React ABI Form
This package helps you render the forms via abi, and have input validations built-in to help you build faster your dapp on starknet.
# Usage in You Dapp
- `npm install starknet-abi-forms`
- In your Dapp Import the `ABIForm` and use it.
- Sample usage you can checkout at [/example/react-app/starknet-abi-form-driver](https://github.com/NethermindEth/starknet-abi-form/tree/dev/example/react-app/starknet-abi-form-driver/src/App.tsx)
- To Import form styles
- `import "starknet-abi-forms/index.css";` from your usage.
- You can add your styling with as below by overriding css from a new css file.
- Checkout sample react project at [/example/react-app/starknet-abi-form-driver](https://github.com/NethermindEth/starknet-abi-form/tree/dev/example/react-app/starknet-abi-form-driver/)# Using Custom CSS
- [here](https://github.com/NethermindEth/starknet-abi-form/tree/dev/custom_css.md)
# Building Locally
- `pnpm install` - to install dependencies initially
- `pnpm dev` - to run in development mode in storybook
- `yalc publish` - to publish to local pnpm store# RoadMap
- Support enums in function params
- Support for Cairo v1, v0