├── examples
│ └── nextjs
├── packages
│ ├── core
│ └── widget
core
(@skip-go/core): The core package of the project. Contains the core logic, api fetch and types, helper functions, signing, etc.widget
(@skip-go/widget): React library that contains the swap widget components.examples
: The example app of the project
@skip-go/core
-> @skip-go/widget
-> examples/nextjs
Install dependencies:
yarn
Update submodule:
yarn run submodule
Generate codegen files:
yarn run codegen
Start the development server:
it will run watch the core and widget packages,it will run the example app on http://localhost:3000
yarn dev
Build the packages:
yarn build