Skip to content

Ak/init endpoint #2

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

Merged
merged 7 commits into from
May 3, 2021
Merged

Ak/init endpoint #2

merged 7 commits into from
May 3, 2021

Conversation

anton-k
Copy link

@anton-k anton-k commented Apr 30, 2021

Two endpoints are implemented:

  • start - to init the whole exchange
  • create - for lender to create his own coin and join the lending pool

The owner of the whole lending exchange calls start endpoint to init the platform.
After that lenders can join by calling create endpoint.

The approach taken is inspired by Uniswap example.

So far did minimal tests that both endpoints run without errors and we can create lending pool
and individual lenders can add their own coins.

@anton-k anton-k requested a review from Benjmhart April 30, 2021 14:18
@Benjmhart Benjmhart merged commit 6149a2e into main May 3, 2021
@anton-k anton-k deleted the ak/init-endpoint branch May 6, 2021 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants