ObolNetwork/obol-sdk-examples

SDK Split simplify deploying obol splits with function calls

Opened this issue · 1 comments

🎯 Problem to be solved

We want to make sure all the features that build the launchpad are part of SDK so users can create their own launchpad like interface and currently SDK doesn't allow creation of splits. We want to make this mandatory in flow because splitters play a key role in contributing 1% of rewards to the public good in the form of obol. However, if they adhere to the default flow, we do not receive any of these rewards.

🛠️ Proposed solution

Summary:
Add two new functions createObolRewardSplit and createObolTotalSplit

🧪 Tests

👐 acceptance criteria

Functional

  • US1:Developer can create their required type of split with desired ratios and withdrawal address programmatically
  • US2: Developer can create the invitation with the created splitter details

Usage:

  • US3: Documentation of new functions in SDK ,their description, input, output, types in Obol SDK repo
  • US8: Guides and examples on how to use SDK to create splits

Business:

  • US9: Obol gets 2% proportion of rewards from the total validator rewards

❌ Out of Scope

If there is anything to highlight as out of scope for this issue, please outline it here.

-->