Skip to content

Replace tweetnacl with discord-verify #54

@IanMitchell

Description

@IanMitchell

The tweetnacl library has a massive impact on bot performance due to its usage of non-native code. discord-verify uses new native methods for verification that results in a dramatic performance increase.

This was the real world performance benefits the Truth or Dare bot saw when they swapped off of discord-interactions and deployed discord-verify:

image

The library also protects against additional security concerns such as replay attacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions