Skip to content

Add a library for interacting with EVM precompiles #5

@Thaleszh

Description

@Thaleszh

Is your feature request related to a problem? Please describe.
The SDK doesn't currently expose wrappers for the KiiChain EVM precompiles, making it difficult to use EVM-native modules like Identity or Compliance in Rust.

Describe the solution you'd like

  • Create a precompiles/ module or crate in the SDK
  • Wrap low-level eth_call or eth_sendTransaction to interact with known precompiles (Identity, Token, Whitelist)
  • Include ABI files if needed and document the methods
  • Add one test that calls a local node and reads identity metadata or attempts a compliance check

Describe alternatives you've considered
Using raw JSON-RPC calls, but typed wrappers offer better safety and readability.

Additional context
Refer to similar JS examples from kiijs-sdk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions