dappnode / toolkit

1 stars 1 forks source link

DappNode Toolkit

This repository contains a collection of modules and tools designed to simplify interaction with the Aragon Package Manager (Registry and Repository) and the Dappnode Directory Smart Contract.

Considerations

Please note that this NPM package is not compatible with browsers, as it includes Node.js native file system modules.

Integrations

The toolkit offers multiple integrations with various tools available in the JavaScript ecosystem, aiming to streamline and enhance the usage of Dappnode Smart Contracts:

TheGraph

The Registry Smart Contract interacts with both the public and dnp Registries Smart Contracts. There are two methods for obtaining Dappnode packages from either the dnp or public Registries Smart Contracts: scanning the blockchain for the NewRepo event, and using TheGraph to collect all the events for each Smart Contract.

Two subgraphs have been deployed to facilitate the retrieval of these events.

Truffle

All the smart contracts are compiled using Truffle. These compilations are subsequently utilized by Ethers and TypeChain.

Typechain

To ensure proper typing in TypeScript, the TypeChain tool generates types from the compiled Smart Contracts created by Truffle.

Modules

Testing

Tests are available for the following Smart Contracts modules:

Roadmap

To establish a clear roadmap for this toolkit, it would be beneficial to have a

Contributing

We welcome contributions to the DappNode Toolkit. Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.

License

The DappNode Toolkit is released under the MIT License. For more information, please refer to the LICENSE file.