Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UST to Agoric Build Challenge #3994

Closed
rowgraus opened this issue Oct 25, 2021 · 9 comments
Closed

UST to Agoric Build Challenge #3994

rowgraus opened this issue Oct 25, 2021 · 9 comments
Labels
bounty enhancement New feature or request

Comments

@rowgraus
Copy link

rowgraus commented Oct 25, 2021

Description

Build and demonstrate a user friendly pathway to bridge Terra's UST to Agoric over IBC and collateralize a RUN-UST pool on the Agoric AMM

Context

This challenge will catalyze cross chain interaction between the Agoric and Terra stable currencies. To gain adoption across the interchain, both currencies need to have deep liquidity on multiple chains. When Agoric is in production, the RUN-UST pools on each chain are likely to be incentivized.

A primary goal of this challenge is to clearly demonstrate the cross-chain IBC transmission of the asset in question and the collateralization of it in the native AMM on the destination chain. Any issues found in the process should be communicated as part of the submission process. Hackathon bounty may be extended depending on engagement.

Submission Requirements

Submissions must include the following:

  • Demo video walking through the interaction
  • Code in a public github repo
  • Must be open source.

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:

  • Issue-specific domain experience
  • Issue-specific technical capability
  • Familiarity with Agoric's platform
  • JavaScript experience
  • Availability and communication

Payment Details

Payment will be made in USD (fiat currency) via wire transfer (not Paypal as listed). 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.

Review Process

  • Agoric team reviews your submitted workplan on Gitcoin
    It is best to join our Discord and post your gitcoin name in the bounties channel, so that we can follow up with you. Otherwise, we will write on your gitcoin profile wall and say hello!
  • Agoric contacts you to provide reference projects / sample code for engineering review
  • Introductory call to discuss your plans and expected timeline
  • You join the Agoric Discord bounties channel (if you haven’t done so already)
  • Agoric accepts you on Gitcoin and you get started!

References

@rowgraus rowgraus added the enhancement New feature or request label Oct 25, 2021
@gitcoinbot
Copy link

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


This issue now has a funding of 3500.0 USD (3498.6 USD @ $1.0/USD) attached to it.

@gitcoinbot
Copy link

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


Work has been started.

These users each claimed they can complete the work by 1 week from now.
Please review their action plans below:

1) pmlambert has started work.

Build an IBC bridge app.

Learn more on the Gitcoin Issue Details page.

@gitcoinbot
Copy link

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


The funding of 3500.0 USD (3494.75 USD @ $1.0/USD) attached to this issue has been cancelled by the bounty submitter

@gitcoinbot
Copy link

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


This issue now has a funding of 3500.0 USD (3494.75 USD @ $1.0/USD) attached to it.

@gitcoinbot
Copy link

gitcoinbot commented Dec 25, 2021

Issue Status: 1. Open 2. Cancelled


Workers have applied to start work.

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

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

I joined the Agoric Discord bounties channel. My Discord ID #2678
2) 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.
3) lakshay35 has applied to start work (Funders only: approve worker | reject worker).

I would build two relay nodes. One for each chain that would relay transactions over to the other chain via IBC and recognize porting over tokens from one chain to the other. In this case since the UST CW20 contract is already present on the Terra chain, we would need to create an equal representation of that contract on Agoric to record the type of token being transferred. Then we can supply liquidity on an AMM with an equal amount of UST and RUN.

Learn more on the Gitcoin Issue Details page.

@dckc dckc added the bounty label Mar 22, 2022
@dckc
Copy link
Member

dckc commented Mar 30, 2022

March 23 update from @mihado:

What I found from my testing is that it's surprisingly hard to set up IBC relay for terra.

Most public terra nodes don't have gRPC turned on (which is required by hermes) so the main challenge become setting up a proper local terra node that can talk with terra testnet.
I just built a new desktop because the HW requirement to run local terra is quite high.

I think the main challenge of this bounty (& the other bounty that go in the reverse direction) is setting up the relay bridge.

@michaelfig
Copy link
Member

@mihado, here's a link to the docs referenced in office hours: https://agoric.com/documentation/guides/agoric-cli/starting-multiuser-dapps.html#example

@dckc
Copy link
Member

dckc commented Mar 30, 2022

And since due to #4165 , purses don't get RUN for free by default any more, the way we got RUN was to substitute the local-chain step with:

CHAIN_BOOTSTRAP_VAT_CONFIG=@agoric/vats/decentral-demo-config.json agoric start local-chain &> chain.log &

@gitcoinbot
Copy link

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


The funding of 3500.0 USD (3503.5 USD @ $1.0/USD) attached to this issue has been cancelled by the bounty submitter

@dckc dckc closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants