Contributing

Contributions are welcome! Sunya supports Linux, macOS, and Windows.

Development setup

git clone https://github.com/yourusername/sunya-v1.git
cd sunya-v1/package
./bin/install  # Installs sunya to ~/.local/bin (or %LOCALAPPDATA%\sunya\bin on Windows)

Without installing: Run the Node.js version directly from a project with contracts:

node package/bin/sunya.js scan

Test with a Foundry project: forge init my-token, add sunya.config.json with contractsDir: "./src", run sunya scan.

Contribution steps

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/foo-bar)
  3. Edit bin/sunya.js (Node, all platforms), bin/sunya (bash fallback), or bin/install / bin/install.ps1
  4. Test on Linux, macOS, or Windows
  5. Commit and open a PR