Skip to content

Use Solmate for ERC1155/ERC20/Others? #33

@devtooligan

Description

@devtooligan

One of the main reasons we wrote a lot of our own contracts instead of using the popular OpenZeppelin library is because OZ's contracts are bloated and not optimized; we wanted to have control over what goes into the contract without the bloat.

Solmate is a gas optimized, audited, set of contracts that we are considering using. We are already using their 1155 implementation with the fCash wrapper. We also discussed using the Solmate ERC20 contract as well.

We should decide if we definitely want to use either or both of these contracts as well as others. We should also decide if we want to import the contracts direct from Solmate, or use some sort of wrapper, or copy/paste the code into our repo.

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