0.2.0-beta.2 • Published 6 years ago
@dcntrlzd/helios v0.2.0-beta.2
Helios
Solidity compilation tools for dapp development
- A wrapper around the solc compiler with import support
- Webpack loader using the compiler for importing solidity files
- SOON: jest transformer for importing solidity files
TODO
- Convert to monorepo with a core package, webpack loader package and a jest transformer package
How to use
npm install @dcntrlzd/helios
- Configure webpack to use helios/loader for sol files
{
test: /\.sol$/,
use: { loader: '@dcntrlzd/helios/loader' },
}
- To import your solidity files from your dapp just import them with es6 import syntax
import { SimpleStorage } from '../contracts/SimpleStorage.sol';
- To import your solidity files from your tests use the async compile method of
@dcntrlzd/helios/runner
import Compiler from '@dcntrlzd/helios/compiler';
const compiler = new Compiler();
const { SimpleStorage } = await compiler.compileFile('../contracts/SimpleStorage.sol');
0.2.0-beta.2
6 years ago
0.2.0-beta.1
6 years ago
0.1.0-beta.8
7 years ago
0.1.0-beta.7
7 years ago
0.1.0-beta.6
7 years ago
0.1.0-beta.5
7 years ago
0.1.0-beta.4
7 years ago
0.1.0-beta.3
7 years ago
0.1.0-beta.2
7 years ago
0.1.0-beta.1
7 years ago
0.1.0
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago