0.7.3 • Published 5 months ago

@aldea/mocknet v0.7.3

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 months ago

Aldea Mocknet

Version License

A mocked blockchain environment for building on the Aldea Computer

No blocks, no consensus, just a full-featured virtual machine for validating and executing transactions and an API for fetching state from the mocked environment.

Usage

Projects created using the Aldea Starter Kit by default have the mocknet installed by default. You can run the mocknet within your starter kit project by using the command:

# using npm
npm run mocknet

# or using yarn
yarn mocknet

Alternatively, Docker users can start the mocknet in a container.

docker run -it -p '4000:4000' aldeacomputer/mocknet

Once the mocknet is running locally, hook the SDK up to use the mock environment.

import { Aldea } from '@aldea/sdk'

// Create an instance connecting to the mock node
const aldea = new Aldea('http://localhost:4000')

License

Aldea is open source and released under the Apache-2 License.

© Copyright 2023 Run Computer Company, inc.

0.7.3

5 months ago

0.7.0

6 months ago

0.5.0

8 months ago

0.4.0

10 months ago

0.6.0

7 months ago

0.3.9

11 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.3.6

11 months ago

0.3.5

11 months ago

0.3.8

11 months ago

0.3.7

11 months ago

0.3.2

12 months ago

0.3.4

12 months ago

0.3.3

12 months ago

0.1.0

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.0.1-beta.3

1 year ago

0.0.1-beta.2

1 year ago

0.1.3

12 months ago

0.0.1-beta.1

1 year ago