Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar 🌞

experimental Solar Solidity compiler bindings for Deno, Bun and Node.js.

  • ~27% faster than Solc
  • smaller package size

Install

with Deno:

deno add jsr:@deno-web3/solar

with Bun:

bunx jsr add @deno-web3/solar

with Node.js:

pnpm dlx jsr add @deno-web3/solar

Usage

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)

About

🌞 Experimental Solar Solidity compiler bindings for Deno, Bun and Node.js.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages