This is a fork of Brunodo project. Sprinkled with Tikua.
It wraps the original binary of Nonodo, taking care of downloading the correct version of the binary for the current platform. As of now, it's not configurable and it downloads a fixed version of Nonodo.
The difference to Brunodo is exposing the wrapper as a usable library. It's intended to help with integration tests and scripting when developing a front-end project.
Currently, it's implemented in pure JavaScript, but a TS version is planned. Also, it will be easier to add extra functionalities based on hardhat and foundry.
The idea is to separate lingering dependencies from EVM development from Cartesi App development.
npm install -g @gbarros/noextra
npm install --save-dev @gbarros/noextra
yarn add --dev @gbarros/noextra
npx nonodo
or
nonodo
import { nonodo, addressBook, getTikua } from "@gbarros/noextra";
...
nonodo.start();
const tikua = getTikua(abi); // returns a tikua object configured to use the local nonodo
nododo.stop();
console.log(addressBook()); // displays the address book as JSON object
Feel free to check out the examples folder or check the 'integration test' on meme-backend project.