This the monorepo for SUNID project
zuni-your-app/
├── contracts (Tron)
├── ui (NextJS14)
├── backend (Echo)
├── go-btfs (BTFS deployment)
...
- List schemas and credentials (on Tron) and BTFS
- Create schemas and issue credentials
- Revoke credentials
- Register schema
- Issue onchain credential
- Revoke onchain/offchain credential
- Listen onchain events
- Issue offchain credentials
- List offchain credentials
This repo includes a basic deployment in the docker folder. Please check it!
-
Network:
TRON Shasta Testnet
Contract Address Schema Registry TKn3gkDn587qQFjh9CrmQYqetctCfniL5f
SunID TUYwo4WqGLVEpCrtbU7zHnrc7nzdoNNU5c
- Node.js v21
- Bun
- Golang
- Docker
git clone [email protected]:zuni-lab/zuni-sun-id.git
- Run:
bun install
for install all packages - Run:
bun dev
for start dev environment - Run:
bun build
for build your project - Run:
bun start
for start your built project - Run:
bun lint
for checking error and fix it
Please read the backend/README.md
carefully.
We have pre-built the docker image for the btfs from the offical github repo.
Please check its README.md
We welcome contributions! Please follow these steps to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Make your changes
- Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (git push origin feature-branch)
- Create a new Pull Request