@0xcert/ethereum-sandbox
| Install | |
|---|---|
npm install @0xcert/ethereum-sandbox |
|
| Latest Version: | 2.1.1 |
| License: | MIT |
| Last Updated: | Mar 28, 2023 |
| Links: | GitHub · npm |
Test server for local running testing of modules on the Ethereum blockchain.
You can use it as a standalone server.
import { Sandbox } from '@0xcert/ethereum-sandbox';
const sandbox = new Sandbox();
await sandbox.listen();
You can integrate it with Specron.
import { Spec } from '@specron/spec';
import { Protocol } from '@0xcert/ethereum-sandbox';
const spec = new Spec();
spec.before(async (stage) => {
stage.set('protocol', await Protocol.deploy(stage.web3));
});
export default spec;
You can integrate it with Hayspec.
import { Spec } from '@hayspec/spec';
import { Sandbox } from '@0xcert/ethereum-sandbox';
interface Data {
sandbox: Sandbox;
}
const spec = new Spec<Data>();
spec.before(async (stage) => {
stage.set('sandbox', await Sandbox.listen());
stage.set('protocol', stage.get('sandbox').protocol);
});
spec.after(async (stage) => {
await stage.get('sandbox').close();
});
export default spec;
The 0xcert Framework is a free and open-source JavaScript library that provides tools for building powerful decentralized applications. Please refer to the official documentation for more details.
This module is one of the bricks of the 0xcert Framework. It's written with TypeScript and it's actively maintained. The source code is available on GitHub where you can also find our issue tracker.
Related Packages
General Ethereum utility module with helper functions for the Ethereum blockchai...
Basic implementation of communication provider for the Ethereum blockchain.
Overarching module with types, enums, and interfaces for easier development of i...
Version History
| Version | Released | License |
|---|---|---|
| 2.1.1 | MIT | |
| 2.1.0 | MIT | |
| 2.0.3 | MIT | |
| 2.0.2 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.9.0 | MIT | |
| 1.8.1 | MIT | |
| 1.8.0 | MIT | |
| 1.7.4 | MIT | |
| 1.7.3 | MIT | |
| 1.7.2 | MIT | |
| 1.7.0 | MIT | |
| 1.6.0 | MIT | |
| 1.5.2 | MIT | |
| 1.5.1 | MIT | |
| 1.5.0 | MIT | |
| 1.4.1 | MIT | |
| 1.4.0 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |
Pre-releases (50)
| Version | Released | License |
|---|---|---|
| 2.0.1-beta0 | MIT | |
| 2.0.0-beta5 | MIT | |
| 2.0.0-beta4 | MIT | |
| 2.0.0-beta3 | MIT | |
| 2.0.0-beta2 | MIT | |
| 2.0.0-beta1 | MIT | |
| 2.0.0-beta | MIT | |
| 2.0.0-alpha17 | MIT | |
| 2.0.0-alpha16 | MIT | |
| 2.0.0-alpha15 | MIT | |
| 2.0.0-alpha14 | MIT | |
| 2.0.0-alpha13 | MIT | |
| 2.0.0-alpha12 | MIT | |
| 2.0.0-alpha11 | MIT | |
| 2.0.0-alpha10 | MIT | |
| 2.0.0-alpha9 | MIT | |
| 2.0.0-alpha8 | MIT | |
| 2.0.0-alpha7 | MIT | |
| 2.0.0-alpha6 | MIT | |
| 2.0.0-alpha5 | MIT | |
| 2.0.0-alpha4 | MIT | |
| 2.0.0-alpha3 | MIT | |
| 2.0.0-alpha2 | MIT | |
| 2.0.0-alpha1 | MIT | |
| 2.0.0-alpha0 | MIT | |
| 1.2.0-alpha1 | MIT | |
| 1.1.0-alpha0 | MIT | |
| 1.0.0-rc13 | MIT | |
| 1.0.0-rc12 | MIT | |
| 1.0.0-rc11 | MIT |
Showing the latest 30 of 50. See every release on npm