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

Objective 1: Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Only Features #935

Open
4 of 5 tasks
gregsantos opened this issue Oct 9, 2024 · 6 comments
Assignees

Comments

@gregsantos
Copy link
Contributor

gregsantos commented Oct 9, 2024

Objective 1: Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Only Features

Key Result 1.1: Publish a tweet with a "Did you know...?" hook about the benefits of using Cadence, targeting at least 10,000 impressions.

Key Result 1.2: Create a deep dive blog post showcasing how Cadence can enhance EVM apps, achieving at least 500 reads.

Key Result 1.3: Add a detailed recipe with steps and code snippets to the developer docs, aimed at guiding EVM developers through integrating Cadence features.

Key Result 1.4: Release Powerful, Extendible Code Example repository for above.

Key Result 1.5: Each member of 4D Team to release deploy one contract of their design to mainnet. (Stretch: Share content describing the design and use-case)

DACI

Role Assigned
Driver @sisyphusSmiling
Approver @Kay-Zee
Consulted @dete, @SeanRobb
Informed @SeanRobb

Tasks


Example Ideas Shortlist

Should be High ROI - Obviously valuable and easy to implement
Should be Remixable and Extendable

  • Choose Lighthouse Example
    • Conditional Batch
    • COA Attachment (Dex inside an account, Min/Max Spend)
    • Better Multisig3

Ref

@gregsantos gregsantos changed the title Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Objective 3: Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Oct 10, 2024
@gregsantos gregsantos changed the title Objective 3: Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Objective 3: Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Only Features Oct 10, 2024
@sisyphusSmiling
Copy link
Contributor

sisyphusSmiling commented Oct 29, 2024

The example moving forward will be a relatively simple one, focussing on showcasing something that's both useful simple enough to get the potential across without diving too far into the Cadence deep end.

We'll showcase a transaction that wraps FLOW as WFLOW and mints an NFT, paying with WFLOW. The signer will be a Flow account and a COA will be configured in the same transaction if need be. In order to demonstrate conditional execution, the ERC721 will be written to fail randomly 50% of the time so the Cadence transaction can condition on a successful minting of the NFT.

This setup allows us to demonstrate:

  1. Configuring & funding a COA in a Flow account
  2. Batched EVM calls in a single Cadence transaction
    • WFLOW.deposit
    • WFLOW.approve
    • ERC721.mint
  3. Randomness in the context of an EVM contract
  4. Conditional execution

@sisyphusSmiling
Copy link
Contributor

sisyphusSmiling commented Oct 29, 2024

EPIC

@sisyphusSmiling
Copy link
Contributor

Update: The example is code complete and work has started on the walkthrough documentation. Given Jeremy is no longer with the Foundation, I'll take up writing the accompanying blog post covering with aim to have the walkthrough & blog post ready to publish by 11/22. I'll sync with marketing on getting a tweet thread prepped in time for publishing.

@Kay-Zee Kay-Zee changed the title Objective 3: Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Only Features Objective 1: Inspire and Excite EVM Devs To Supercharge Their EVM Apps Using Cadence Only Features Nov 18, 2024
@sisyphusSmiling
Copy link
Contributor

Update: Docs implementation-level walkthrough is in PR - #983

Blog post is in draft and collecting feedback in this notion doc

Next steps include working on diagrams and visuals for the blog post, finalizing the post, and drafting a tweet thread to announce the publishing of both the doc and post.

@sisyphusSmiling
Copy link
Contributor

Update: Blog post now has a tracker in the marketing repo and will be slotted into the content calendar for a time that makes the most sense

@sisyphusSmiling
Copy link
Contributor

Update: Blog published here with announcement post from Flow and personal X accounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants