Skip to content

joltwallet/nano_parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nano Parse

Library for crafting rai_node rpc calls and parsing their responses to be compatible with nano_lib.

Design

This library was split into two main categories:

  1. Parsing json strings using cJSON into a more usable format
  2. Helper websocket calls that wrap the json parsers

If you are developing a standalone device/application, the websocket calls will probably be more friendly to quickly get your project running. The project can be built without any libwebsocket dependencies by disabling it in the Kconfig.

Unit Tests

Unit tests can be used by selecting this library with a target using the ESP32 Unit Tester.

make flash TEST_COMPONENTS='nano_parse' monitor

The unit tests (in the test folder) is a good source of examples on how to use this library. Be careful about how strings are escaped.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published