-
Notifications
You must be signed in to change notification settings - Fork 10
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
[GSW-416] feat: Integrate Pools API #209
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
NEXT_PUBLIC_API_URL="https://dev-api.gnoswap.io/v3/testnet" | ||
NEXT_PUBLIC_PACKAGE_POOL_PATH="gno.land/r/pool" | ||
NEXT_PUBLIC_PACKAGE_POOL_ADDRESS="g1ee305k8yk0pjz443xpwtqdyep522f9g5r7d63w" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has POOL_PATH
, but does it need to know the address
? Is there any way to find out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But if the task makes more complicated, it may be okay to just use two variables.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can implement an algorithm that generates an address from a path.
However, we must utilize a crypto library such as bech32.
I'm not sure which one is better, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First, let's use two variables.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
NEXT_PUBLIC_API_URL="https://dev-api.gnoswap.io/v3/testnet" | ||
NEXT_PUBLIC_PACKAGE_POOL_PATH="gno.land/r/pool" | ||
NEXT_PUBLIC_PACKAGE_POOL_ADDRESS="g1ee305k8yk0pjz443xpwtqdyep522f9g5r7d63w" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First, let's use two variables.
No description provided.