0xSplits / splits-sdk

An SDK for building apps on top of 0xSplits
https://docs.splits.org/sdk
MIT License
32 stars 12 forks source link

Deploying to Degen L3 #42

Open thearyanag opened 6 months ago

thearyanag commented 6 months ago

I wanted to add Degen L3 to the splits SDK, I've already deployed the The main and the wallet contract on the degen

{
  "Contracts": {
    "SplitMain": "0x6301B6Bc76Dd56A26515EdeCeE203d1Ab84202DC",
    "SplitWallet": "0x006c77062eDEA0894762F31b9B0421a22245CD2b"
  }
}

I wanted to discuss is there any other contract i need to deploy before making a PR to add the chain or is there any other procedure.

mihoward21 commented 6 months ago

Hey thanks for reaching out. We are not planning on adding new networks for SplitMain to the sdk. We just announced our launch of our v2 Split contracts: https://splits.org/blog/v2-launch/

The SDK support for those will be live this week. We will be putting a process in place for requesting those v2 contracts on new networks, and for requesting (basic) sdk support.

More advanced sdk support (i.e. fetching earnings) requires a subgraph, and we are going to be more selective about which networks are included in our subgraph. But interacting with the contracts should work with the basic sdk support.

mihoward21 commented 6 months ago

If you really need to use SplitMain on Degen L3, unfortunately you will need to either interact with your contracts directly or fork the sdk

thearyanag commented 6 months ago

Currently, we are directly interacting with the contract, which is doing the job for now, i was not aware of v2, I'll check it out. thanks