Skip to content

Move the crypto contract outside of cadence #3135

Closed
@tarakby

Description

@tarakby

Issue to be solved

The crypto contract offers crypto tools that are fully developed in the cadence language and don't have to be built-in in the language. It makes more sense to take the crypto contract outside of the Cadence repo and add it as an independent standard library core-contract.

This issue is a follow-up on the discussion in #1447 (comment)

Suggested Solution

Moving the Crypto contract out of Cadence will require:

  • Moving the contract to the Flow core contracts repository (https://github.com/onflow/flow-core-contracts) (small)
  • Move tests (small)
  • Update Cadence to no longer handle contract specifically (small)
  • Update flow-go / FVM to rewrite import (small)
  • Update downstream dependencies (small)
  • Deploy the contract on all chains (medium)

No additional work in the contract itself is required, we had already previously refactored it to be deployable like any other contract

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions