Skip to content

initial draft for OVM predeploy guide#113

Merged
nickh-obol merged 4 commits intonick/ovm-predeploy-guidefrom
oisin/predeploy
Feb 11, 2026
Merged

initial draft for OVM predeploy guide#113
nickh-obol merged 4 commits intonick/ovm-predeploy-guidefrom
oisin/predeploy

Conversation

@OisinKyne
Copy link
Contributor

Don't merge yet, just pushing my wip so far so i can see the branch build of it
(some of the diff is from calling a markdown formatter)

@OisinKyne
Copy link
Contributor Author

most of my changes come from bringing in pre-creation of splitters, and getting rid of giving the backend api key roles, and instead letting it be an owner until it shouldn't be.

Need to update the sequence diagram to correctly reflect this change, and i think i didn't do the splits stuff in forge or typescript, only cast (and untested at that). Maybe @nickh-obol you can update the sequence diagram for me and polish up what i missed? (and then merge this pr into yours, and merge that into main, allowing us to close #114 which i'm just using to review the pre-deploy guide).

{% tabs %}
{% tab title="Cast" %}

Run these commands 50 times. (You may need to use `createSplitDeterministic()` with a salt value or use different placeholder recipient addresses for the PullSplits or the command will error due to a split with that configuration already existing)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should avoid talking about 50 contracts, can easily extrapolate a single example. Might confuse people, and dealing with one as a proof of concept is easier.

If we're calling the factory it seems we avoid the problem with deterministic contracts since it adds a nonce already? https://docs.splits.org/core/split-v2#notes

0xOwnerKeyAddress 0xOwnerKeyAddress 0xOwnerKeyAddress 16000000000 \
--rpc-url https://ethereum-hoodi-rpc.publicnode.com \
--private-key 0x...
$BACKEND_API_ADDRESS $BACKEND_API_ADDRESS $BACKEND_API_ADDRESS 16000000000 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it ever updates this from the default value for fee recipient

```sh
# Create a keypair with `cast wallet new`. Put some (hoodi)Eth in the corresponding address.
# (Make sure you don't commit it to version control!)
export DEPLOYER_PRIVATE_KEY=0xPrivateKeyForADeployer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused, now that we've moved the permissions to the API

@nickh-obol nickh-obol merged commit 30588b2 into nick/ovm-predeploy-guide Feb 11, 2026
2 checks passed
OisinKyne added a commit that referenced this pull request Feb 11, 2026
* initial draft for OVM predeploy guide

* update index

* fix tabs

* add cast examples

* add principalThreshold warning link and update graphic colors

* initial draft for OVM predeploy guide (#113)

* Cosmetic updates

* Image

* Update demo

* Update code snippits, diagram. Set fee recipient to deployed splitter.

---------

Co-authored-by: nick_h <[email protected]>

---------

Co-authored-by: Oisín Kyne <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants