Contribution

April 19, 2023 ยท View on GitHub

How to Add a New Module

Module should be:

  • In modules directory.
  • A class and its methods should have expose decorater
  • Exported in index file
  • Added to GridClient class in client.ts file

For more details about modules, check Module Docs

Note: Some of Grid client modules depend on the Chain. Make sure the module is added to the chain first then use the released version of the Chain before adding the module to the Client.