$SEFI Launch Update: Metrics, Troubleshooting, More!

Hello to the community! Yesterday was a very eventful day with the release of the $SEFI token and fresh upgrade for the SecretSwap.io website! With this unprecedented anticipation and excitement, however, came some difficulties. As we work to continue improving the experience for SecretSwap and SEFI users, the high amount of transaction volume has alerted us to some areas we can improve in.

This thread will just be used to share ongoing updates from the developers working to improve the network and tooling, not to solve support issues - please continue to use the Secret Discord as a primary support channel, or start your own forum thread under the SecretSwap category.


One issue that’s been happening (as mentioned by Keplr’s Josh Lee) is related to how Tendermint Core performs under high query/load situations. ABCI being single threaded, high load situations makes the node fall out of sync with the latest block–making all queries/transactions fail. This is not specifically a Keplr/Secret Network issue. Fundamentally this requires changes at the ABCI level, incentivizing multiple nodes to be run, long-term fixes to be made. There is currently an investigation underway to identify these fixes further.

In addition, there are some issues with the front-end UI and viewing keys specific to Secret Network, likely the result of Solid State Drive speed on certain API endpoints. This is being worked on by multiple validators and tooling providers. Meanwhile, more nodes are being added to help service ongoing queries.

While it’s regrettable that users are still facing slowness and issues with viewing keys, these challenges were created by unprecedented network demand and growth as illustrated by the following metrics:

  1. Yesterday marked the highest # of Transactions in Secret Network’s history with over 2 BILLION in gas used.


  1. The Secret Bridge TVL passed $100M for the first time!

  1. Thousands of users started claiming their SEFI tokens and taking place in staking and LP staking across a number of LP Pools, or single sided SEFI staking earning MASSIVE APYs:

  1. The $SEFI token was added to CoinGecko, drawing further attention to the product:
  1. The new secretswap.io landing page went live!


We want to be clear that nobody has lost money and there were no exploits. Most of the issues were caused by transactions not being processed or viewing keys not working properly.

If you are waiting on SEFI claims, or have transactions that are pending, rest assured they will be there when congestion clears. Requesting multiple more times will only exacerbate issues with the network, so please be patient. The whole community is standing by to help users resolve outstanding viewing key issues.

We want to thank you all for your patience and ongoing support of SecretNetwork, SecretSwap, and the Secret Finance ecosystem <3

Remember that for further support from the community you can join us on Discord: https://chat.scrt.network

14 Likes

Thanks for the great work guys ! Looking forward for the improvements too - but it is always part of the path. Continue to be such a great team and project! <3

3 Likes

[ Begin AMA Recap April 1, 2021]


[Tor Bair / Secret Foundation]: I wanted to start with some directed questions so we could go over what’s been going on in the network and with the SEFI launch. So, we can start with the Enigma folks — SEFI launch drove a ton of network activity, with record transaction and gas volume. It’s definitely uncovered some opportunities for improvement. Let’s start with the what — in your own words, what was the network experiencing yesterday, and what are we continuing to see today?

[Cashmaney / EnigmaMPC Dev]: Hey all. I think I can take this one. So basically, what we’re seeing is some Blockchain growing pains. We’re starting to hit the limits of what our nodes can do — in terms of serving requests at a very high rate. The problem (and I guess this is a good problem to have) is that we’re starting to reach uncharted waters in terms of the cosmos ecosystem — there just haven’t been that many chains that have this sort of traffic generated by services, and we’ve having to deal with some fundamental issues to be able to get to where we want to be.

What this means is that we’re currently working in 3 main directions:

  1. Scale up our node infrastructure — just add more nodes to be able to handle the current burst
  2. Optimize the code of our apps to make sure to make the least amount of requests possible
  3. Work on improving the performance of the nodes themselves

We got some great tips from Terra on possible causes for the issues we’re seeing, and we’re hopeful that we’ll be able to make some progress on these issues — fingers crossed.

[Guy Zyskind / EnigmaMPC Founder & CEO]: Building on what @Cashmaney said, it’s important to also realize that Secret Network’s privacy by design prevents doing things like ‘caching the entire blockchain state’. Since it’s not public, and each user (and actually, tx) has its own encryption key, we can’t use such ‘hacks’ and need to focus on the avenues @Cashmaney mentioned.

[Tor Bair / Secret Foundation]: Thanks @Cashmaney and @Guy | Enigma — that’s helpful. We also have @ajc here from Figment

For everyone: were there any other learnings from the SEFI launch, or anything else that you saw?

[Andrew Cronk/ CPO & Cofounder at Figment] : Hi — Andy from Figment — we’ve been running Secret nodes in DataHub. We were planning for around 100 requests per second, and at the peak we were seeing 500–1,000 requests per second. So we had to make a hard choice of letting that traffic overwhelm the nodes and serving no requests, or doing some rate limiting. We chose the rate limiting path and by mid-day North America time we were successfully serving 99% of requests. Big learnings for us were around how to scale up the computationally heavy workload of Secret — it is unique among the blockchains we work on.

[Can Kisagun / Co-Founder and Product lead at EnigmaMPC]: One learning for me is: we experience significant demand/load on the network when we launch new products (SecretSwap, SEFI). Both launched marked the highest gas used day in SN. This is a really good sign that people are excited about what we are building. We need to expect similar levels of demand for the next big milestone event and make sure that the improvements Itzik mentioned is able to improve the user experience

[Tor Bair / Secret Foundation]: Good place to move on @Can | Enigma since the focus of this AMA was originally meant to be about upcoming milestones for Secret DeFi and SecretSwap, so we can move into questions focused on that as well. We just saw the routing feature for SecretSwap go live — that was exciting @Assaf.

[Can Kisagun / Co-Founder and Product lead at EnigmaMPC]: There’s on going work to bridge BSC assets to Secret Network and provide privacy to BEP20s similar to Ethereum assets. We measure our success by the privacy value we provide to the blockchain ecosystem. That means assets bridged to Secret Network and the value of assets native to Secret Network. This launch will help us improve that metric and bring privacy to BSC users.

[Community Question]: Hey there awesome job on the launch, have you guys thought of a way to incentivize running full nodes ?

[Can Kisagun / Co-Founder and Product lead at EnigmaMPC]: Network can potentially vote on such a mechanism or give a grant to do it, but not otherwise. There’s also room to pay service providers who provide that service (e.g., we’d rather do that and not run our own nodes).

[Community Question]: One thought/suggestion we’ve seen in regard to node incentives would be to possibly include a flat fee that all node runners receive each block in addition to typical block rewards. Slightly decrease the usual block rewards to keep inflation the same, but this would lead to more diversification of delegations and allow more, high quality nodes to come online. Just a thought.

[Cashmaney / EnigmaMPC Dev]: Not really. The actual output of the network is not affected by the amount/quality of nodes (mostly). The issues have to do with how many external queries a single node can support (and still keep up with processing the txs on chain). Services such as Figment’s Datahub run a specific infrastructure meant to handle these types of requests

[Reuven / EnigmaMPC Dev]: In essence non-validator nodes are only useful for applications to track the state of the chain, or in other words, for queries. Unlike validators, there’s no reason to have nodes online if they’re not being used by some app. So you can say that the incentive to run nodes is the revenue from the application whose UI uses them for queries. (either by collecting on-chain fees, or other monetization techniques). As guy said above, there’s plenty of room for companies to provide these nodes for applications that want to run on the network.

[Community Question]: Where do you see the benefits of the SEFI token in the future, contrary to using SCRT for everything?

[Can Kisagun / Co-Founder and Product lead at EnigmaMPC]:

SCRT vs. SEFI.

SCRT is the native network token and it’s intended to secure the network + used in governance. We want high staking ratio so that the network security ($) is higher. The more SCRT is staked, the less can be and should be used in network applications.

SEFI on the other hand is designed first to govern SecretSwap and provide incentives for SecretSwap users to scale the application. From a governance perspective, stakeholders who are best suited to govern SecretSwap, are not necessarily the same people who are governing the Secret Network. We believe a fair launch is a great way to provide folks who are most invested in running SecretSwap have a say in the future direction of the project. Another reality is that SEFI is a great way to bootstrap liquidity for SecretSwap and make it a better product for the whole blockchain ecosystem.

Having a front-running resistant AMM is a huge deal, we should all acknowledge that ~$1bn a year is lost to miners and arb bots. However unless we can bootstrap liquidity and you have high slippage in your trades, front-running resistance loses its value.

[Community Question]: For people who think they should have gotten some SEFI but didn’t (assuming it’s not just network issues), is there a way of verifying through a block explorer which addresses were eligible? Knowing when the snapshot(s) took place could help with this as well. Just trying to get some definite answers for people who are still unsure about why they didn’t receive anything

[Can Kisagun / Co-Founder and Product lead at EnigmaMPC]: I think this is something we can build. You query your address and see whether you received SEFI or not. We first need to solve some of the more pressing issues though. Maybe we can collaborate with @superfish | :cow2: or @ian​:dragon:secretnodes.com on this.

[Ian🐉secretnodes.com Founder]: There are some short term solutions to mitigate the issues but I believe we ultimately need tendermint fixes.

[Community Question]: Thanks for the throughout answer. Chaining onto this: Do you see other applications that will come in the future building on SEFI as well or would you imagine that there are custom tokens for each kind of application? (1)

Would you ever consider build a DEX order book for Secret Network under SEFI brand? (2)

[Can Kisagun / Co-Founder and Product lead at EnigmaMPC]: It’s really up to future projects. 25% of SEFI supply is allocated as a development fund. This can be used to build new products and integrate SEFI as an incentive system to them as well (like lending) or potentially other projects which are building different stacks of decentralized finance can ask for a grant to integrate their liquidity to SecretSwap and receive SEFI. It would be up to them whether they’ll do a new token or not. However a lending protocol + secretswap sharing liquidity would be prettty dope.

We are also working on a new app page for SecretSwap, which will live on app.secretswap.io

Imagine your funds earning interest as well as fees from the pools… I think we have an exciting future for secret defi. (1)

It’s too early to tell. However order book DEXs on SN = dark pools which is a great application. We need to increase liquidity on SecretSwap for these experiments to be fruitful. (2)

[sneak peek] There’s a project that currently being tested — it allows you to add limit orders to SecretSwap. Your orders will be private :slight_smile:

[Community Question]: I hear that SIENNA will use the Secret Network ETH bridge backend, but with a separately created front-end specific for SIENNA. What is the architecture design decision behind this? And how do you see this evolving in the future with “separate” bridges?

[Cashmaney / EnigmaMPC Dev]: SIENNA is independent from Enigma, and their design choices reflect that. Personally we welcome everyone to come build on Secret Network — we’re in this together. If anyone wants to integrate with our apps — that’s great. If you want to build your own then we’re happy to support that as well

[Community Question]: Is there any deadline for the SEFI claim, or will it work for people coming in way later?

[Tom / EnigmaMPC Dev]: No, it will be always claimable.

[Reuven / EnigmaMPC Dev]: In principle, we have a list of the addresses that are eligible for the claim, and in a few months/years if we will really want to remove the claim UI we can check if 99.99% of them have interacted with the claim contract, but even if we will, the option will always remain open on-chain.

[ End of AMA]

2 Likes

Support

How can I get support for SecretSwap?

You can use this chat to get support for all SecretSwap related issues.

I’m not seeing my balance

Viewing keys are required to view balances for encrypted SNIP-20 tokens on Secret Network (e.g. SEFI and sSCRT).

What’s SPYSEFI?

SPYSEFI appears instead of SEFI when you have staked SEFI in the pool.

Lost SEFI?

If you earned SEFI, the funds are associated with your secret or ethereum addresses and safe, independent of wallets and regardless off network issues.

Other non-Keplr wallets?

Yor SEFI is associated with your seret address, but not available to view in your wallet. You will need to create a Keplr wallet and import your seed phrase and then interact with the SecretSwap SEFI page.

I’m getting a network error with a Keplr transaction on SecretSwap. Why?

Due to load balancing and a massive uptick in volume, there is a significant number of transactions that are not registered by certain endpoints. As such, you should refresh the page and try again. Another good option is to wait for less network traffic, and then you can resubmit the transaction and it will more than likely be successful.

I’m getting a viewing key error. How do I fix this?

There has been a good amount of success by manually adding a viewing key to your wallet instead of going through SecretSwap.

Use the following official SEFI address and add at to your Keplr wallet using the following tutorial: secret15l9cqgz5uezgydrglaak5ahfac69kmx2qpd6xt
Proof of safety

My SEFI balance is at 0 and I think successfully claimed my Genesis rewards. Why?

Two potential reasons:

(1) You claimed the rewards and started staking them before ever having a chance to see them in your keplr wallet, check the 𝕊ecret Bridge SEFI staking page to see if you are staked. Make sure you have properly created a viewing key.
(2) UI lag as the culprit, waiting and refreshing the page may resolve the issue.

I accidentally transferred my tokens to a pair contract, is there anyway I can get them back?

SecretSwap token pair secret contracts are ownerless. We have no special control over the pair secret contracts’ functionality; because of this, any tokens accidentally transferred to the token contract itself are lost forever. Please be careful!

Will Keplr support SEFI staking at launch?

SEFI is a SNIP-20 (secret token) and supported by Keplr like all other SNIP-20s.

Brendan of WhisperNode put together a helpful “Claiming & Staking SEFI” video that walks through a number of the bugs on the bridge - many of which can be solved via page refreshes.

As more support and clarity comes, we will continue to update this thread to answer support questions and FAQs!

2 Likes

If i have spylpsScrtsEth, does it turn back into my original coins when i withdraw them or do i then need to exchange those coins for secret or whatever i prefer?? Is it possible that it pulled my provided LP coins from my original sScrt-sEth pool and put them into the LP-sScrt-sEth (sefi tab) pool? Because i put 100% in and now is not showing a balance for sScrt-sEth LP pool under the swap tab. Is there any way to get a dollar value of the spy tokens so i know if that’s where it automatically went? When the individual coins i added to the liquidity pool go up in value, does my money still go up in value or do the new LP-sScrt-sEth coins have their own value and are only equivalent when you initially provide them to the LP?

When you stake LP tokens, you are sending them to a contract to be locked. You received “spy” tokens in return that will be used to send back to the contract to retrieve the LP tokens that you have locked for staking. So no, you do not need to swap anything into sSCRT. You will just withdraw your LP tokens from the staking contract (the UI is sending it your “spy” tokens to do this).

Yes, that is how it is supposed to work.

Your LP tokens represent your share of the pool. The tokens in the pool will change in ratio to each other as people swap one token for another. When you withdraw from the pool, you will receive your percentage of tokens in the pool that is represented by what percentage of LP tokens you have compared to all the LP tokens existing at the time (when people provide, more are minted, when people withdraw, LP tokens are burned).
When you withdraw from the pool, because you are getting the tokens of the pair, if any changed value since the time you provided, those tokens will be worth the new value. However, you may not get back tokens at the same ratio you provided them, because the ratio in the pool might have changed if one token increased in value relative to the other since the time you provided. So it is possible that the total value of the tokens that you get back could be less than what they would have been if you hodled them. This is referred to as impermanent loss. There are many articles you can google for an explanation of impermanent loss

I was told that if you had more than $1k of an asset staked on the Secret ETH Bridge you qualified for the airdrop.

When I go to the SEFI page to claim the genesis tokens, I get a message saying “NaN SEFI” What does this mean? There’s a check mark across from the ‘available for claim’ section. The button on the bottom is stuck in the ‘loading…’ phase.

I believe the requirement was to bridge an asset from Ethereum to Secret Network, like ETH to sETH, or LINK to sLINK worth of $1,000 or moar to be eligible for the bridge allocation of the SEFI airdrop.

Furthermore, you could get more sefi if you provided liquidity on SETH/SSCRT pair on Uniswap and later on Sushiswap and you stacked it on EARN.

For single assets on EARN you were not eligible for the airdrop.

Cheers