How to wrap your Peperium assets

obi
3 min readJan 13, 2023

--

Approve the wrapper

First, we need to approve the wrapper for the Peperium asset so we’re able to wrap. I’ll use kfpepe in this example

1. Go to [this google spreadsheet] and find the contract of the asset you want to wrap. For example kfpepe is 0x648445e48093d999966375b30186D433fEF9c364

2. Next, go to https://www.myetherwallet.com/wallet/interact and connect with the wallet holding the kfpepe (I used “Browser extension” for metamask)

3. In the “Contract address” field, paste “0x648445e48093d999966375b30186D433fEF9c364”

4. In the “ABI/JSON interface” field paste the ABI (which you can also find on the website), I’ll paste it here as well:

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"description","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ipfs_hash","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"desc","type":"string"}],"name":"setDescription","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isLocked","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"lock","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"},{"name":"tokenDescription","type":"string"},{"name":"ipfsHash","type":"string"}],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

It should look like this. Click “Interact” to proceed.

5. From the “Function” dropdown, select “Approve”

In the field “_spender (address)” fill in 0xFe880206214856F984D4f64Fc89c26681DcA15a2 (the wrapper contract)

In the field “_value (uint256)” fill in 1000 (this is the highest supply in the Peperium collection, so might as well use that). Should look like the screenshot below. Click “Write” and proceed through your wallet (it shouldn’t cost much gas fwiw, less than 0.01 ETH).

Wrap the asset

1. Go to https://etherscan.io/address/0xfe880206214856f984d4f64fc89c26681dca15a2#writeContract (this is the wrapper contract)

2. Click “Connect to Web3” and use the app with your wallet holding the kfpepe

3. Expand “6. wrap (0x25ded586)”

4. In the field “_id (uint256)” fill in 1 (the id of kfpepe in the wrapper contract). here’s a list of all IDs for the assets

1 KFPEPE
2 PEPESTREET
3 ZENPEPE
4 PEPRESSIONISM
5 PEPEBANKSY
6 MONAPEPE
7 LORDRARE
8 BASEBALLPEPE
9 BATPEPE
10 HOTDOGPEPE
11 KINGRARE
12 ACCEPTRARE
13 NEVERENDINGPEPE
14 PEPEGOD
15 PEPEGOLD
16 NEWPEPE
17 PEPETTE
18 VAPORPEPE
19 PEPESTENCIL
20 GlitchPepe
21 PEPERIUMCLASSIC
22 CHILLPEPE
23 RUINSOFPEPE
24 GIGERPEPECITY
25 PEPEZEUSLIGHT
26 CRIMEANDPEPESHMENT
27 PEPENEMSTEAK
28 RPALPHASTIK
29 UNDEADPEPE
30 MHV
31 PBJCAT
99 TAOWARARE

5. In the field “_quantity (uint256)” fill in the amount of kfpepes you want to wrap (we’ll go with 1 this time). It should look like this. Click “Write” and proceed through your wallet.

6. It should now show up soon on OpenSea: https://opensea.io/collection/the-lost-peperium-pepes

--

--

No responses yet