2.1.1 • Published 2 years ago

@0xcert/ethereum-sandbox v2.1.1

Weekly downloads
74
License
MIT
Repository
github
Last release
2 years ago

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.

2.1.1

2 years ago

2.1.0

2 years ago

2.0.3

2 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.1-beta0

3 years ago

2.0.0

3 years ago

2.0.0-beta5

3 years ago

2.0.0-beta4

3 years ago

2.0.0-beta3

3 years ago

2.0.0-beta2

3 years ago

2.0.0-beta1

3 years ago

2.0.0-beta

3 years ago

2.0.0-alpha17

3 years ago

2.0.0-alpha16

3 years ago

2.0.0-alpha15

3 years ago

2.0.0-alpha14

3 years ago

2.0.0-alpha13

3 years ago

2.0.0-alpha12

3 years ago

2.0.0-alpha11

3 years ago

2.0.0-alpha10

3 years ago

2.0.0-alpha9

3 years ago

2.0.0-alpha8

3 years ago

2.0.0-alpha7

3 years ago

2.0.0-alpha6

3 years ago

1.9.0

3 years ago

1.8.1

3 years ago

2.0.0-alpha5

3 years ago

2.0.0-alpha4

3 years ago

1.8.0

3 years ago

2.0.0-alpha3

3 years ago

2.0.0-alpha2

3 years ago

2.0.0-alpha1

3 years ago

2.0.0-alpha0

3 years ago

1.7.4

3 years ago

1.7.3

3 years ago

1.7.2

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.2.0-alpha1

4 years ago

1.1.0-alpha0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.0-rc13

4 years ago

1.0.0-rc12

4 years ago

1.0.0-rc11

4 years ago

1.0.0-rc10

4 years ago

1.0.0-rc9

4 years ago

1.0.0-rc8

4 years ago

1.0.0-rc7

4 years ago

1.0.0-rc6

4 years ago

1.0.0-rc5

4 years ago

1.0.0-rc4

4 years ago

1.0.0-rc3

4 years ago

1.0.0-rc2

4 years ago

1.0.0-rc1

4 years ago

0.0.0-rc1

4 years ago

0.0.0-alpha10

4 years ago

0.0.0-alpha9

4 years ago

0.0.0-alpha8

4 years ago

0.0.0-alpha7

4 years ago

0.0.0-alpha6

4 years ago

0.0.0-alpha5

4 years ago

0.0.0-alpha4

4 years ago

0.0.0-alpha3

4 years ago

0.0.0-alpha0

4 years ago