Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
305 stars 194 forks source link

Cosmos Cross Chain Contract Challenge #4023

Closed rowgraus closed 6 months ago

rowgraus commented 2 years ago

Description

Implement an Agoric smart contract that interacts with another Cosmos zone to provide improved functionality to users of that zone. Examples: A contract that manages leases for Akash Network (see this bounty) A contract providing more flexible liquidity mining options for Osmosis LP tokens

Context

Cosmos chains are largely application specific and highly optimized for their use cases. Due to this, they may not have the capability to quickly launch contracts that expand adjacent functionality to their users.

Agoric is an IBC-connected smart contracting platform that can help! A deployed Agoric smart contract can interact with other Cosmos zones in interesting ways that provide immediate value.

This is a broad challenge to build something interesting. Spend time in a Cosmos community to understand their needs and see what you might be able to build quickly for them in Agoric!

Acceptance Criteria

Implementation plan agreed to with Agoric team Criteria in description met Local/testnet demonstration of the Agoric contract interacting cross chain with destination chain

Time Estimation

3 weeks

Reward

$7,500

Payment will be made in USD (fiat currency) via wire transfer. The developer is responsible for providing their completed tax documents (W9 for US based developers and/or W8 or W8-BEN-E for non-US based developers) and providing their banking details in order to receive payment.

Applicant Assessment Criteria

Important: Please provide a clear workplan for how you will approach this bounty. Use the work plan as an initial demonstration that you would be a good candidate. Bounties will require coordination with the Agoric team, so unfortunately only plans submitted in English will be considered.

Applicants will be assessed based on the following criteria:

Review Process

References

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 7500.0 USD (7497.0 USD @ $1.0/USD) attached to it as part of the Agoric fund.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 264 years, 8 months from now. Please review their action plans below:

1) allenliu1111 has applied to start work _(Funders only: approve worker | reject worker)_.

Will finish all task for project and cooperated 2) schnetzlerjoe has been approved to start work.

I think it would be cool to explore a central dashboard and one-stop shop to manage all your Defi projects on the Cosmos eco-system in one place. Very similar to Step Finance but for Cosmos. I am a big user of Step and can see the use case in Cosmos.

My plan to action would involve:

  1. Building the smart contract to enable the interaction with Osmosis and Gravity DEX for swaps and Liquidity mining to start
  2. Build the Dashboard UI in Svelte and Connect
  3. If it is useful, expand to other Defi hubs/products. 3) xinbitiangao has applied to start work _(Funders only: approve worker | reject worker)_.

I think it would be cool to explore the central dashboard and one-stop shop to manage all defi projects on the cosmos ecosystem in one place. Very similar to step finance, but applicable to cosmos. I am a big user of step and can see the use cases in cosmos. My action plan will include: 1 Build smart contracts to enable interaction with osmosis and gravity DEX for exchange and liquidity mining 2 Build dashboard UI in svelte and connect 3 If useful, extend to other defi hubs / products. 4) minhhung123 has applied to start work _(Funders only: approve worker | reject worker)_.

Will participate and complete the tasks

Learn more on the Gitcoin Issue Details page.

schnetzlerjoe commented 2 years ago

Repos for references where the work lies:

IBC-V3 Go Upgraded version of Agoric SDK with ICS-27 (Interchain Accounts) enabled - https://github.com/schnetzlerjoe/agoric-sdk

Interaccounts Contract - ICS-27 Contract for Agoric https://github.com/schnetzlerjoe/interaccounts (WIP)

Calypso - Home of Cross-Chain/Cosmos Portfolio Management Dashboard (WIP)

dckc commented 2 years ago

@michaelfig I see you tagged @schnetzlerjoe in the go version negotiation issue cosmos/ibc#732 , so I suppose this issue is more relevant and I was off by a bit when I asked for a pointer from #3984 .

dckc commented 2 years ago

I'm taking a look at 65c29f0

Demo videos: Part 1: https://www.loom.com/share/5b4b3801888b4a9d93746de34c3c3a67 Part 2: https://www.loom.com/share/fc419473816e4ba8925b6db24c8ecc1a Part 3: https://www.loom.com/share/730df4c52b954fca9a8dd3a6dbb5ceac Part 4: https://www.loom.com/share/d61a187ce3f94f2daa6cb361a9222cb0