cowprotocol / cowprotocol/learn

feat: generating appData without `app-data` SDK

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Svelte
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Problem

A lesson from Devconnect was that generating the app-data when doing smart-contract initiated hooks (ie. programmatic order) is not straightforward.

Suggested solution

Write a tutorial that covers generating the app-data for a programmatic order.

Alternatives considered

N/A

Additional context

N/A

Acceptance criteria
  • Comprehensive tutorial on pre/post hook creation with programmatic orders
  • Cautions around using keccak256("test")
  • Bypass checking for keccak256(bytes32(0))

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the tutorial structure and existing material on programmatic orders, then document pre/post hook creation, the cautions around keccak256("test"), and the bypass check for keccak256(bytes32(0)); done means all listed acceptance criteria are covered.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.