This document guides the Nebula Hub team on setting up Skivvy via IMA between Ethereum and Nebula > Inputs and outputs are in the bottom of this document #### Goals - [ ] Map Skivvy on Ethereum Side - [ ] Map Skivvy on Nebula Side #### Notes - Nebula chain name is green-giddy-denebola - Skivvy on Ethereum on is Divvi: 0x246908BfF0b1ba6ECaDCF57fb94F6AE2FcD43a77 - Skivvy on Nebula: 0x4397f627F899a76d01a6D572EC4DD179912123c1 #### Input Command ```shell npx msig encodeData green-giddy-denebola TokenManagerERC20 addERC20TokenByOwner Mainnet 0x246908BfF0b1ba6ECaDCF57fb94F6AE2FcD43a77 0x4397f627F899a76d01a6D572EC4DD179912123c1 ``` #### Nebula Mapping Data ```shell 0x9448920200000585eb4b15e945e78a4755b32308a39fe7ceea88db69b880cb81fe3278b7000000000000000000000000d2c0deface00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000140000000000000000000000000d2aaa005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a4eafd15c80000000000000000000000000000000000000000000000000000000000000060000000000000000000000000246908bff0b1ba6ecadcf57fb94f6ae2fcd43a770000000000000000000000004397f627f899a76d01a6d572ec4dd179912123c100000000000000000000000000000000000000000000000000000000000000074d61696e6e65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ``` ### Adding Tokens 1. Go to your SAFE at https://safe.global/ or your preferred provider 2. Connect your secure operator wallet 3. You will follow steps similar to the [SKALE Docs](https://docs.skale.space/run-a-skale-chain/using-safe/) however it is recommended to **BATCH** this since both can be executed at the same time for cheaper fees and easier coordination. 4. Input depositBoxERC20 address into the `to field`: 0x8fB1A35bB6fB9c47Fb5065BE5062cB8dC1687669 5. Select Use Implementation ABI 6. Call addERC20TokenByOwner on the above tokens with the following inputs: 1. chain: green-giddy-denebola 2. token on nebula: 0x246908BfF0b1ba6ECaDCF57fb94F6AE2FcD43a77 7. Add Transaction 8. Click **Add Another Transaction** -> Click **Transaction Builder** 9. Toggle **on** *Custom Data* 10. For the output above, please do: 1. Set the TO Address of these transactions to: 1. 0x8629703a9903515818C2FeB45a6f6fA5df8Da404 2. Set **value** to 0 3. Copy data from above into custom data field 4. Add to batch 11. Once both transacitons are added, move batch into signature phase 12. Run Tenderly simulation and send link to SKALE Team in Discord 13. Sign transaction 14. Confirm completion