Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC: Move Generated Typescript Web3 Core Contracts to their own package #9912

Closed
wants to merge 1 commit into from

Conversation

aaronmgdr
Copy link
Member

@aaronmgdr aaronmgdr commented Oct 5, 2022

Description

Currently the typescript files for the core contracts are generated in the contractkit package using a script in the protocol package (as well as using .sol files). This creates a bind between protocol package and the contractkit package.

In order to to achieve separation I propose creating a third package which would consist solely of the generated js and type files for the contracts.

  • @celo/contractkit could use as an external dependency.
  • contract owners can release versions and keep package version that makes sense to them
  • Owner would be the primatives team (or whoever owns contracts)

Other changes

n/a

Tested

not yet, testing would just be confirming it fits our needs

Related issues

  • Fixes monorepo breakup

compatibility

we could add re exports to contract kit to make this not breaking if we want

Documentation

@aaronmgdr
Copy link
Member Author

what would be really great is if the types for using with ethers were also published

@aaronmgdr aaronmgdr closed this Dec 16, 2022
@mcortesi mcortesi deleted the aaronmgdr/separation branch August 23, 2023 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant