The Open Source Dashboard for the Instadapp Protocol
Go to file
Georges KABBOUCHI a77041ddd4 fixes
2021-09-05 21:31:23 +03:00
.github/workflows Fix deployment config 2021-08-19 15:47:54 +05:30
abis/read wip compound 2021-08-07 01:44:51 +03:00
assets Add trove position cards 2021-08-21 15:04:09 +03:00
components Add status component 2021-09-05 18:28:08 +03:00
composables Add status component 2021-09-05 18:28:08 +03:00
constant Liquity - Open Trove 2021-08-21 14:20:16 +03:00
core fixes 2021-09-05 21:31:23 +03:00
layouts wip 2021-08-25 14:13:23 +03:00
pages Liquity 2021-09-05 02:12:21 +03:00
plugins wip 2021-08-04 22:17:26 +03:00
static Update manifest.json 2021-08-26 00:29:00 +03:00
store first commit 2021-07-17 19:50:30 +03:00
utils Simulation 2021-08-18 23:20:45 +03:00
.editorconfig first commit 2021-07-17 19:50:30 +03:00
.env.example Simulation 2021-08-18 23:20:45 +03:00
.gitignore first commit 2021-07-17 19:50:30 +03:00
banner.png Add Banner 2021-08-12 22:24:07 +03:00
ecosystem.config.js Added PM2 config 2021-08-19 15:30:12 +05:30
jsconfig.json first commit 2021-07-17 19:50:30 +03:00
nuxt.config.js Simulation 2021-08-18 23:20:45 +03:00
package.json Merge branch 'master' into strategies-v2 2021-08-27 01:09:51 +03:00
README.md Update README.md 2021-08-20 12:44:07 +05:30
shims.d.ts compound 2021-08-08 02:22:42 +03:00
tailwind.config.js wip 2021-08-25 14:13:23 +03:00
tsconfig.json wip - balances ui 2021-08-01 21:29:41 +03:00
yarn.lock Merge branch 'master' into strategies-v2 2021-08-27 01:09:51 +03:00

Assembly

The Open Source Dashboard for the Instadapp Protocol

Instadapp Assembly is an open source dashboard for developing and building on the Instadapp Protocol. Instadapp will host a community led interface here: assembly.instadapp.io

Directory Structure

.
├── ...
├── composables             
│   ├── protocols/          # Logic for protocols, example `useAave2Position.ts`
│   ├── ...       
│   └── ...                  
├── ...
├── components             
│   ├── protocols/          # Contains components used for protocols, example `CardAave.vue`
│   ├── sidebar/            # Contains all sidebar components, check `useSidebar.ts`
│   └── ...                   
├── ...
├── pages             
│   ├── mainnet/            # Apps for Mainnet network
│   ├── polygon/            # Apps for Polygon network
│   └── index.vue           # List all avaiable apps             
└── ...

Creating new App for Mainnet

  • Create a new file my-app.vue in pages/mainnet folder, or duplicat existing protocol, ex: pages/mainnet/aave-v2.vue
  • Register the new app in index.vue in appsPerNetwork array.
  • Create new protocol useMyAppPosition.ts in composables/protocols folder, check composables/protocols/useAaveV2Position.ts for more details.
  • Create sidebars for the new app in components/sidebar/context/my-app folder, ex: SidebarMyAppSupply.vue, check components/sidebar/context/aave-v2 for more details.
  • Register the sidebars in composables/useSidebar.ts, check the sidebars array for more details.

Development

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

Contributing to the hosted Assembly Site

How to Integrate DApps or Protocols

If you would like to integrate your project or contracts into the Instadapp protocol you can read our Integration Guide.

After integrations are merged to the protocol, users and developers can start building use-cases and functionality on Assembly by creating a DApp page or submitting strategies for the integration.

How to submit a new DApp Page:

You can submit a new DApp page as a PR to this repo. The team and the Assembly Guild will review and merge the DApp page.

The requirements will vary depending on the protocol and use-case but in general, DApp pages should attempt to be complete as possible. i.e . A Maker DApp page should contain information that the user would need such as collateral ratio, Vault ID, amount of debt borrowed, etc.

How to submit a strategy to an existing DApp Page:

You can submit custom strategies and other use cases to be published on Assembly. Submit the strategy to the appropriate DApp page as a PR.

If your strategy involves multiple protocols or does not fit in one particular DApp page you can submit to multiple DApp pages or you can submit a separate DApp page for your strategy. Not Required but useful; to share the strategy as a link on Terminal for easier review.

WIP 🚧

📚 Additional Links

Developer Documentation

Instadapp SDK Repo

Mainnet Connectors: Docs / Repo

Polygon Connectors: Docs / Repo


Visit our Homepage - Instadapp.io or reach out to the team on Discord if you have any issues.

For detailed explanation on how things work, check out the documentation.