Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

A minimal DNA that exposes core functionality for testing purposes

Notifications You must be signed in to change notification settings

holochain/passthrough-dna-redux

Repository files navigation

passthrough-dna

Project Chat

Twitter Follow

License: Apache-2.0

Overview

This DNA exposes some of the HDK API function directly. In this case it is kind of a passthrough letting you call make certain holochain calls (e.g. commit, get_entry, link, get_links etc) without any logic inbetween. It is intended for testing and experimentation purposes.

Example

Run a sanity test using the passthrough DNA:

cd test
npm i
npm run test:stress

License

License: Apache-2.0

Copyright (C) 2019, Holochain Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.