Skip to content

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

License

Notifications You must be signed in to change notification settings

deno-web3/solar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar 🌞

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

  • ~15% 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages