That’s SO De-Fi!

How to Use Time Pays Me Without The Front-End on PulseChain

Running the code yourself via scan.PulseChain.com instead of using TimePays.me

6 min readJan 14, 2025

--

First, keep personal notes of which tokens you locked in which of your addresses, due dates, etc. Usually the block explorer would tell you what you have in the vault, but that’s not exactly relying on yourself — which is the point of crypto.

Most people might use the TimePays.me front-end, but there’s no guarantee it will always be available. It’s a miracle when anything in crypto works.

Example: Unlocking Tokens

The example covered in this article is unlocking tokens. You can use many of the functions of TimePays.me without the front-end, but we’ll focus on just this one — and what you learn might help you do even more. For example, your learning might transfer to Ethereum, where you’d use Etherscan.io instead of scan.PulseChain.com.

Part 0: Save These Instructions In Your Own Notes

You might print this out, AND save to a digital notepad. Never store your seed phrase on your computer in a notepad/text file/etc, and never share your seed phrase with anyone ever. Here we are only dealing with public addresses, vault address and token addresses.

For tokenomics and other news on pDAI you can see this Telegram post: https://t.me/pDAIairdrop/178

Part 1: Get your vault address.

Normally you can just grab this from the TimePays.me front-end. But if that’s not available, use the instructions in this part. Part 2, below, covers ending a lock without the front-end.

  1. Go to: https://scan.pulsechain.com/, click on the IPFS link (mypinata).
  2. Enter the TimeCapsuleFactory Contract Address (same for everyone): 0x3e9a668D590B92256bb8D926b147f310791b2B1E
  3. Click “Contract” tab and “Read contract” tab.
  4. Under “4. predictedCapsuleAddress” enter your public wallet address starting in 0x…, click “Query” and copy the resulting address — your vault address. Add this to your notes.

5. Take your vault address and enter it in the top search bar for scan.PulseChain.com.

6. Now within the vault address we can see the tokens in the drop-down menu of the “Tokens” menu. In your notes, add the token address of anything you want to end.

6.1 Make sure your vault has been created. This can be done from the front-end at https://timepays.me (make sure you have the right wallet connected). If the vault creation transaction fails — 10x the gas limit (edit network fee) by adding a zero. For example, 260,000 gas limit would be changed to 2,600,000 (no commas).

Edit network fee, then go to advanced, then tap edit by gas limit.

Example of your notes:

Part 2: Run Code In Your Vault Address

  1. Take your vault address and enter it in the top search bar for scan.PulseChain.com.
  2. Click “Contract” tab and “Write proxy” tab. Connect Wallet (button below write proxy). Note: It appears PulseScan is having trouble indexing the vault contracts for Part 2, Step 2. So if you can’t find the “contract tab”, that’s a PulseChain issue and we suspect it’ll catch up at some point and show that tab. Update: it appears the “contract” tab is appearing after about an hour after the vault has been created, due to indexing catching up on PulseChain.

2.1 Under “contract tab, Write proxy tab, use function “4. createHardLock”

for _tag(bytes32) put: 0x7064616900000000000000000000000000000000000000000000000000000000

for _tokenAddress(address) put: 0x75C84Ca7eC3F14e4f53aCAbf6eDD628cd1B22bC1

for “_lockAmount” add up all the tokens on the airdrop list (up to maybe the last 2 decimals) then hit the x1⁰¹⁸ button to convert it into integer maths.

for “_fee” it’s your lock amount, but take 3 zeros off the integer maths.

Easy to make this mistake: Number for withdraw plus fee is higher than amount in vault. Try doing the withdrawal amount as 99% of your coins then add the fee amount accordingly.

The times are absolute times in Unix timestamp. Seconds since 1/1/1970 iirc. Calculate here: https://www.epochconverter.com/. If your computer or browser time is off, then you could mess up your ability to claim. Put your value ahead at least 10 minutes so the blockchain can confirm it. Speed up the transaction if it doesn’t confirm soon (or put higher gas from the start). You should set the lockTime (start of lock period) to any time not more than one hour before “now” and the unlock time to some time after that (I added 1000 seconds, or about 16 minutes). Use the converter. Don’t take the current time, but manually put your current time in.

for “value(uint256)” put: 1

Now you can click “write” and confirm in MetaMask. If any of your inputs were wrong, the transaction will fail.

Now you would wait the 10 minutes or until the lock is done, and then move to the next steps:

  1. In function “7. initiateWithdrawal” enter the token address of the token you’re trying to get the drip or ended lock from.
  2. Enter a value for “_lockIndex”. If you only have 1 lock, enter 0. If you don’t know how many, maybe you’d guess. If a lock is cleared out, the previous lock moves down a number. So if I have two locks for the same token, the LockIndex for the first is 0 and the second is 1, but when I’ve withdrawn everything from the first, then the second becomes Index = 0. If I drip from index 0 then I can drip from index 1 and 2 and however many locks I have. The index number of each lock only drops if a lock is completely emptied (including the following steps) where the tokens go from the vault address back to the public address.
  3. Now you hit “Write” for each drip/lock you want to take, and confirm in your wallet, then make sure it confirms. If you didn’t have that token locked or something else goes wrong, the transaction would fail.
  4. Now you wait 7 days plus 1 minute… so I’d record that to my notes.
  5. Now you came back 7 days later and follow all of these steps under Part 2, except you choose “12. sendWithdrawal” in step 3 instead of “7. initiateWithdrawal”. Press “Write”. Once confirmed, your locked tokens are now in your public address that owns the vault, and those tokens are in an unlocked state. Congratulations.
  6. Now you can initiate another withdrawal for each drip you have, or wait longer. There’s no penalty for being late.

Other situations: You can see the total balance of all your locks by looking in the public address. If you sent a token directly to the vault without creating a lock, you would see a balance but there would be no lock to initiate withdrawal on. In that case you would have to use function “4. createHardLock” to start a lock (can be 1 minute only), then you can follow the steps above to initiateWithdrawal, wait 7 days, then sendWithdrawal.

In the code (viewable on “code” tab in scan.PulseChain.com for your vault address) there’s labels for what goes in each contract function field. For example, lockedAmount is in the token’s base units, so for PLSX because it has 18 decimals, 1 PLSX would be 1000000000000000000.

I hope this guide is helpful for your self-reliance.

Anything locked in your TimePaysMe is your responsibility. Please stake wisely my friends.

--

--

Mati Allin
Mati Allin

Written by Mati Allin

Programmable Money Advocate. All-in HEX crypto. https://AllMyLinks.com/Allin

No responses yet