Phala-Network / swanky-plugin-phala

Phala swanky plugin for an all-in-one developer environment for WASM ink-based phat contracts.
MIT License
5 stars 2 forks source link

Refactor Swanky Phala #7

Closed HashWarlock closed 1 year ago

HashWarlock commented 1 year ago

Description

devphase recently decoupled the service from cli package which allows for the swanky phala plugin to no longer have dependency mismatches. This fix will refactor all commands to directly call the @devphase/service functions instead of calling yarn commands which was not a best practice.

Targets

HashWarlock commented 1 year ago

@h4x3rotab @Leechael @shelvenzhou I updated the codebase along with the README.md functionality depends on a fix from devphase https://github.com/l00k/devphase/blob/master/workspaces/service/src/service/api/ContractFactory.ts#L313-L315 However, you can fix it locally & test out the plugin to be able to replicate the steps I show on how to deploy a phat_hello contract and interact with it.