chore: debrand core by renaming ARK to CORE#1970
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1970 +/- ##
===========================================
- Coverage 38.91% 38.66% -0.26%
===========================================
Files 376 385 +9
Lines 8215 8279 +64
Branches 1150 1184 +34
===========================================
+ Hits 3197 3201 +4
- Misses 5006 5066 +60
Partials 12 12
Continue to review full report at Codecov.
|
|
Since 2.1 already changes config structure, it will make sense to also change the data folder now as mentioned below. There are still quite a few more things that need debranding but this is a good start.
|
|
|
Found a few more ark references, some coming from the develop merge:
|
|
I tested this branch with my custom installer on devnet and it works perfectly fine. Thanks! |
|
Great move. Just one 'philosophical' point: as soon as the sidechain builder has 'named' his sidechain, it should possible to 'call' it with the name. Specifically for instance :
Also loosely linked to this aspect, desktop/mobile wallet should be able to 'reflect' custom sidechain (logo, colors, ticket etc...) Maybe published on autoconfigure endpoint |
|
Everything is quite generic right now which makes it very flexible to modify for other chains. The database name/user is already set by the installer script so what's in the code doesn't matter - generic 'core' is fine. I can see .core/ and core/ being a problem and I guess it can be reverted to .ark/ and ark-core/ if it is so desired. I'm done with a script already that can change those paths in the code on the fly. The only issue with that approach is updating the core afterwards will fail if any of the files containing the paths are modified in the repo. P.S. The latest merge didn't pass the checks ... there is one hard-coded ark-core path. |
Proposed changes
This PR debrands core by renaming all instances of
ARKtoCOREand the API vendor fromark.core-apitocore-api.This makes core more generic and easier for sidechains to deploy as they don't need to rename anything, simply generate your custom network config and you are ready to go.
Resolves #1965
Types of changes
Checklist