https://github.com/deno-web3/solar
🌞 Experimental Solar Solidity compiler bindings for Deno, Bun and Node.js.
https://github.com/deno-web3/solar
bun deno ethereum nodejs solidity web3
Last synced: 2 months ago
JSON representation
🌞 Experimental Solar Solidity compiler bindings for Deno, Bun and Node.js.
- Host: GitHub
- URL: https://github.com/deno-web3/solar
- Owner: deno-web3
- License: mit
- Created: 2025-02-28T19:01:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-01-13T21:46:00.000Z (5 months ago)
- Last Synced: 2026-01-13T23:56:10.927Z (5 months ago)
- Topics: bun, deno, ethereum, nodejs, solidity, web3
- Language: JavaScript
- Homepage:
- Size: 8.08 MB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solar 🌞
experimental [Solar](https://github.com/paradigmxyz/solar) Solidity compiler bindings for Deno, Bun and Node.js.
- ~27% faster than Solc
- smaller package size
## Install
with Deno:
```sh
deno add jsr:@deno-web3/solar
```
with Bun:
```
bunx jsr add @deno-web3/solar
```
with Node.js:
```sh
pnpm dlx jsr add @deno-web3/solar
```
## Usage
```ts
import { Solar } from 'solar'
import type { EmitAbiOutput } from 'solar/types'
const solar = new Solar()
const { contracts } = JSON.parse(await solar.emit('./Example.sol')) as EmitAbiOutput
console.log(contracts)
```