Skip to content

Instantly share code, notes, and snippets.

@eccentricexit
Created August 8, 2019 12:58
Show Gist options
  • Save eccentricexit/9a682d7819f6f9c040db55f50cd9973d to your computer and use it in GitHub Desktop.
Save eccentricexit/9a682d7819f6f9c040db55f50cd9973d to your computer and use it in GitHub Desktop.
KPNK Print guide

For anyone who needs Kovan PNK:

  1. You need the shared wallet imported on metamask.
  2. Go to the PNK contract here: https://kovan.etherscan.io/address/0x1ee318dbc19267dbce08f54a66ab198f73ede356#writeContract
  3. Call the generateTokens function with the address that will be blessed with PNK as the _owner and the amount of tokens you want * 10^18 as _amount
  4. Once metamask pops up, you will notice it predicts that the transaction will fail. That's ok. Click on the Data tab and copy the hex code. It looks similar to this: 0x827f32c00000000000000000000000007cfa255496a7631f5750f6bd94223e6b1759f23e0000000000000000000000000000000000000000000000000de0b6b3a7640000
  5. Go to KlerosLiquid: https://kovan.etherscan.io/address/0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80#writeContract
  6. Call executeGovernorProposal with the parameters: _destination: 0x1ee318dbc19267dbce08f54a66ab198f73ede356 _value: 0 _data: The hex code you just copied from metamask. 7.- Profit 💰
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment