Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

CityOfZion/neo3-invoker

Repository files navigation

⚠️ This repository has been moved to @CityOfZion/neon-dappkit

Which has the same classes and methods, making migration very easy.


Neo3-Invoker - A declarative SmartContract Invocation Spec.
Made with ❤ by COZ.IO

Neo3-Invoker

Neo3-Invoker is a specification of how SmartContract client SDKs can interact with different invoker libraries such Neon-JS or WalletConnect.

With Neo3-Invoker a SDK don't need to reimplement the wheel and can focus on the SmartContract communication format. Taking advantage of the declarative nature of the specification, the SDK can be used with different invoker libraries, it only depends on what the dApp developer wants to use.

Install

npm i @cityofzion/neo3-invoker

Documentation

Checkout the auto-generated Docs based on the Code.

If you are unsure about the expected value for each argument type, Checkout these examples

Neon-Invoker

Neon-Invoker is a library that implements the Neo3-Invoker specification and uses Neon-JS as the invoker library. It should be used when the dApp developer doesn't need a wallet input from the final user.

Checkout the Docs

Other Implementations

Any library can implement the Neo3-Invoker specification, if you have an implementation, please create a PR to update this list.

(yes, a single item list is a bit weird 😅, send us your implementations!)