Quit Profile picture
Dec 7, 2022 21 tweets 7 min read Read on X
With the US geo-blocked from the official ApeCoin staking site, many will find themselves interacting with the contract through Etherscan directly for the first time.

Here's everything you need to know in order to successfully stake your ApeCoin through Etherscan 1/🧵
2/ Staking through Etherscan is clunky, but you benefit from full control and a better understanding of what you're doing - like driving with a manual transmission.

The first thing you'll want to do is head to the ApeCoin contract and connect your wallet: etherscan.io/address/0x4d22… Image
3/ We need to give the staking contract spend permission. It is easiest to grant the maximum integer value, so you never need to re-approve.

spender: 0x5954aB967Bc958940b7EB73ee84797Dc8a2AFbb9
amount: 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Image
4/ Next, we head to the staking contract and connect the same way we did for ApeCoin.

That contract is here: etherscan.io/address/0x5954…

Once connected, next steps depend on which pool you want to use
- ApeCoin only
- BAYC
- MAYC
- BAKC (paired)

Let's go through them 👇
5/ ApeCoin only has two options: deposit on behalf of somebody else, or (what most people will probably use) deposit to your own staking position.

To deposit to your own position, simply paste the amount you're looking to deposit, hit "write", and confirm the transaction. ImageImage
6/ Quick aside: It's important to note that ApeCoin has 18 decimal places, so the _amount you're depositing should be (number of ApeCoins * 10 ^ 18).

If you're depositing your full balance, you can save yourself the calculation by pulling it from the ApeCoin contract Image
7/ If you ever want to withdraw or claim your rewards, the process is similar. You can claim to your own address, or specify a recipient. ImageImage
8/ If you want to deposit to a BAYC or MAYC pool, you'll need to provide a token ID. Don't worry, your NFT get transferred or approved in the process. The function simply verifies ownership.

Here is the proper input to deposit token ID 8903, along with the max ApeCoin. Image
9/ Note the double quotes, your tx will fail if you don't include them.

You can commit multiple BAYC or MAYC in a single transaction as long as each has at least 1 ApeCoin tied to it. Here's an example of the input to commit 2 (you can extrapolate from there) Image
10/ Withdrawals are mirror images of deposits for these if you use the "Self" variants. If not, the only difference is that you can specific a recipient for the withdrawn ApeCoin.

IMPORTANT: THE POSITION IS OWNED BY THE OWNER OF THE APE. SELL THE APE, SELL THE POSITION. ImageImage
11/ On to BAKC pairs, which get a little trickier. BAYC + BAKC pairs go in the top box, MAYC + BAKC in the bottom box. If you don't have one or the other, an empty array ([]) is required.

The first ID here is the ape, the second is the kennel, then the amount of ApeCoin. Image
12/ And again, the withdraw is the same format. Image
13/ Some notes:

As seen below, depositing *only* verifies ownership if the committed NFT or NFT pair has no staked balance. Once a stake is set up, anybody can add to it. Useful for topping up if you have $ape in other accounts! Image
14/ We are going to see a rise in losses over the next few months. I see two main scenarios:
15/ Accidental

User A sells their ape to User B and doesn't realize that the stake position goes with it. User B now owns all of the deposited ApeCoin.
16/ Malicious

Scammers request pool withdrawals (instead of approvals or seaport signatures). These will be less recognizable to the average user, and many may forfeit their staked ape to phishing schemes.
17/ We're going to see a TON of ApeCoin interfaces pop up. They will obfuscate this manual work away from you, which is great but ONLY if you trust them not to manipulate it. Stick with the ones that you trust, or when in doubt, just use Etherscan and input the data yourself
18/ I hope you've found this thread helpful.

This is part of a much larger series where I'll be breaking down the different options for staking interfaces and functionality.

If you enjoyed it, please retweet the opening thread!
19/ tl;dr Etherscan requires the most manual work out of the frontend options out there, but it also requires the least amount of trust.

I would recommend it for the more tech savvy, or those looking to learn.

Ease of Use - 5/10
Safety - 9/10
Additional Functionality - 1/10
20/ For a more code-focused review on the contract, check out @0xCygaar's helpful thread from earlier today:
An addendum on checking your unclaimed rewards

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Quit

Quit Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @0xQuit

Apr 9
A beginner's guide to bear markets:

Your portfolio is down bad. It's too late to short, too early to long, and swing trading will just bankrupt you faster. You're struggling mentally. Here's how to productively spend your time during crypto winter.

1/🧵
2/ Learn a skill and monetize it. Take your focus off the price charts and shitcoins, and CREATE. AI has made this easier than ever: vibe code some apps, create daily artworks—learn something that can earn you cash on the side.
3/ Use a percentage (not 100%, please) of that income to grow your crypto allocation. You'll be buying at favorable prices while developing marketable skills that last beyond any market cycle.
Read 13 tweets
Feb 28
1/ Shadows have begun their soft rollout -- the contracts are deployed and will publicly launch when the rest of the pieces (frontends, indexer, etc) come together.

I just did an in person tweet thread at ETH Denver, and shadowed my ape live on stage. Below is that thread 👇
2/ NFTs have traditionally existed on a single chain (usually Ethereum).

That's where they were born, and it's where the majority live even today. Bored Apes, CryptoPunks, Pudgy Penguins, Azuki, and more all live exclusively on Ethereum.
3/ Those NFTs have probably changed your life in some way, big or small. Maybe it was the ApeCoin drop, Lil Pudgies, $anime, or something else entirely.

Owning an NFT signals that you're part of a community, and with that comes benefits both intangible and tangible.
Read 24 tweets
Dec 21, 2024
Exited all my validators, and I think it's worth discussing: Ethereum has an incentive problem.

1/🧵
2/ Proof of stake is a simple concept on the surface: those with money at stake are rewarded in exchange for honest validation of new blocks.

If you're dishonest, your stake is vulnerable to slashing (aka, there is a high cost to dishonesty).
3/ Similar to difficulty adjustments with bitcoin, incentive to validate should naturally reach equilibrium as stakers reach consensus on what APY justifies the opportunity cost of locking up ETH.
Read 11 tweets
Oct 3, 2024
Flash loans are zero risk loans where the full loan amount must be paid back in the same transaction is was originated. They are useful for arbs or opportunities for profit where you simply don't have the ETH up front.

But this one actually sacrificed a punk...

1/🧵 Image
2/ Today's loan was not a profit opportunity - at least, not directly (we'll get to that later).

To execute, two contracts were used (we'll call them Contract A and Contract B).

Contract A is in charge of listing the punk, and Contract B handles buying it.
3/ The progression:

Contract A holds Punk #1563, Contract B holds nothing.

Contract A lists for 24,000 ETH.

Contract B borrows 24,000 ETH from Balancer.

Contract B buys #1563. Contract B now has #1563, contract A has 24,000 ETH.

Contract A returns ETH to Balancer. Image
Read 10 tweets
Sep 11, 2024
Punk 2386, with a current high bid of 600 eth, sold for 10 ETH today.

A combination of clever sleuthing, followed by an unfortunate miscalculation leads to a 7 figure payday for 0x282.

🧵 Image
2/ This ape punk was fractionalized into 10,000 ERC20 tokens on 9/26/2020, and spread out among what is now 257 holders.

This was done on a now decommissioned platform called niftex (the contracts continue to live forever).
3/ The setup is such that any shareholder can propose a "shotgun", whereby any shareholder can propose a buyout price, and if nobody counters, they can purchase the asset after 14 days.
Read 9 tweets
Apr 29, 2024
One of the questions I'm asked the most is "how do I get started becoming a solidity dev?". While there's no right answer, my response is always similar. So here it is in a thread:

How to take yourself from 0-1 as a solidity dev
1/🧵
2/ This thread will assume you have dev experience already - if you don't solidity might not be the best place to start.

Solidity doesn't necessarily have a steeper learning curve than other languages, but it has steeper penalties for getting it wrong.
3/ A good intro to the basics is available at . It's outdated - most of the program uses solc 0.5, and we're now at 0.8+ - a lot has changed, but it's quick, and enjoyable enough that it can ease the fear of "getting started", which is the hardest part.cryptozombies.io
Read 13 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(