MemeNumbers: Do Math Operations on Etherscan

In the last blog post, we talked about how to mint MemeNumbers on Etherscan.

Once you have at least two Numbers, you can start doing math on them to get the Number that you really want. You can easily do that on our webpage at https://memenumbers.com, or you can do it on the contract in etherscan.io.

Step 1. “Connect to Web3” on Contract:

Contract address on Mainnet: etherscan.io/address/0x98afe7a8d28bbc88dcf41f8e06d97c74958a47dc#readContract

Contract address on test (Rinkeby): rinkeby.etherscan.io/address/0xc628ecbaf90ab0062516ca556c0de9b382a67bbd#readContract

Click on “Connect to Web3

post image

First, make sure both of the numbers you want to operate on are in the same wallet you own. You can view them in your wallet or on your OpenSea profile.

You can preview the result of the math operation by going to the "Read Contract" tab, click on "13. operate" and paste in the numbers. For example, I wanted to divide 9907521824912016787 by 3465487563288751561.

post image

You can see at the bottom that the result will be "2", which means if I do this operation, I will get the new MemeNumber "2" NFT. My old Numbers 9907521824912016787 and 3465487563288751561 will be burned and I’ll no longer own them.

The allowed operators are:

  • a” for addition

  • s” for subtraction

  • m” for multiplication

  • d” for division

When you’ve confirmed the end result is what you want, it’s time to do the real operation. Go to the "Write Contract" tab, click on "5. burn" to open it.

post image

Just like the trial run in "Read Contract" > "13. operate", paste in the numbers you want operated on, and type in the operator (‘a’, ‘s’, ‘m’ or ‘d’) in the "op (string)" field.

In the "to (address)" field, copy and paste the wallet address you want the resulting new Number to be minted to. (Careful! You can mint to a different wallet which you may not own, in which case you’ll lose that Number.)

Confirm everything is correct. All good? Click the "Write" button.

(We do not charge a fee for operations. Just confirm and pay gas.)

Done! The new MemeNumber "2" has been minted! You’ll see it in your wallet or on OpenSea! (Again, it can take a few minutes for it to show up.)

post image

That’s all. Easy as π. Have fun playing with MemeNumbers!