onflow / flow-emulator

The Flow Emulator is a lightweight tool that emulates the behaviour of the real Flow network
https://onflow.org
Apache License 2.0
85 stars 48 forks source link

Deploy `USDCFlow.cdc` to the emulator by default #535

Open joshuahannan opened 11 months ago

joshuahannan commented 11 months ago

Issue To Be Solved

USDCFlow.cdc for USDC is a very commonly used contract in the Flow ecosystem and developers often will want to test with it on the emulator before deploying to testnet, but it is difficult to deploy and manage.

Suggest A Solution

bluesign commented 2 months ago

as no more FiatToken.cdc maybe we can add USDCFlow ( but I am not sure if it requires also some kind of bridging contract deployment )

joshuahannan commented 2 months ago

Good suggestion! I updated the title and description of the issue to reflect that. We can just deploy it to the service account and store the minter there like we do with FlowToken. I don't think we need to connect it to the bridge on emulator for now

bluesign commented 2 months ago

We will need a lite version of the contract ( as it imports bridge ) and go bindings probably.

bluesign commented 1 month ago

@joshuahannan any chance you can you can have a look at this one ?

joshuahannan commented 1 month ago

yeah, I can add it to bootstrapping this week