Make sure to checkout the project , and if you love what we are building plz consider us voting pikapay! @Eric
Welcome to hackaTRONs7 ! What do you think is the potential users reach for pikapay?
I think also here is an âinspirationâ yeah GitHub - tkeith/squirrelpay: Privacy-preserving on-chain payroll prototype?
At least an improvement of UI âŠ
Yeh its an inspiration as well @constantinpricope201 @admin.hackathon you feel free to check out our smart contract , github and website
Season 7!! Letâs Gooo!!!
lol ! you are right
I think itâs the first time I see a project here integrating or even mentioning EASâs solution.
I understand the choice of BTTC cause the chain is cheap. But atm Tron is way easier to access (USDT transfers from CEX to wallet using BTTC network is a pain if you donât have an HTX account). Well it will probably change in the future but I can see currently a limit here in terms of usage.
Do you plan to make some marketing and reach out to companies to promote the use of your product? Whatâs the strategy and business model? Any subscription model or something?
I see a lot of Zkp thing in your smart contract maybe a bit hard to grab it for others, i have a doubt , can you guide me after transferring ownership to receipents , doesnât the depositers have to transfer them commitment proof manually? So they can withdraw privately or with attestation? Or their any other thing which I might be missing?
Hello team Pikapay, it is like your website is broken. Please fix this to give users the chance to test what you are building
Hey i would recommend to try the app using laptop or pc.
Over the past week, weâve made several advancements. The final version of Pikapay, now fully privacy-focused with zksnarks and (ethereum attestation integrated into BTTC chain), is live, and all milestones have been successfully completed.
Two core functions are here
- Updates commitment onchain and get a zkproof for it:
require(!spentNullifiers[nullifier], "Balance already spent");
// Verify ZKP proof of ownership before updating the commitment
bool isValid = zkpVerifier.verifyProof(
proof,
[newCommitment, nullifier]
);
require(isValid, "Invalid ZK proof");
// Update state: store only the commitment, concealing identity
spentNullifiers[nullifier] = true;
commitments[_batchId] = newCommitment;
withdrawableAmounts[newCommitment] = withdrawableAmount; // Storing the withdrawable amount
emit OwnershipTransferred(_batchId, msg.sender, address(0), beneficiaryBalances[_batchId][msg.sender]);
}
-
Withdrawing the attested tokens privately by submitting zkproof.
Batch storage batch = batchRegistry[_batchId]; require(!batch.isFinalized, "Batch has already been finalized."); require(!spentNullifiers[nullifier], "Balance already spent"); // Verify ZKP proof for withdrawal bool isValid = zkpVerifier.verifyProof( proof, [newCommitment, nullifier] ); require(isValid, "Invalid ZK proof"); batch.token.transfer(msg.sender, _withdrawAmount); token.safeTransfer(msg.sender, _withdrawAmount); spentNullifiers[nullifier] = true; commitments[_batchId] = newCommitment; emit AttestedWithdrawal( _batchId, msg.sender, _withdrawAmount, batch.attestationDetails, _metadata ); // Finalize the batch if supply is zero if (batch.remainingSupply == 0) { finalizeBatch(_batchId); } emit AttestedWithdrawal( _batchId, msg.sender, _withdrawAmount, batch.attestationDetails, _metadata ); if (batch.remainingSupply == 0) { finalizeBatch(_batchId); }
We have successfully completed all milestones of pikapay , only thing left is to deploy it for Bttc mainnet @admin.hackathon
I donât believe so while the idea may be similar, the code and implementation have significant differences. I hve checked it , while this one is zk project and the other one is not.
I wasnât aware that bttc supports attestation. Did you deploy eas contracts on the BTtC chain first? Or could you share the documentation? Thanks
Team, do you have a statement on this issue? Has such a thing happened??
Replied to you on the post already
hey @SimbadMarino Can you plz check the dm.
Thanks for the feedback simbadMarino
How did you get the feedback?
I dmed him you could do the same
ok @SimbadMarino we DMED you as well , waiting for you there