Open dnpotter opened 1 month ago
Tried an off-chain voting dapp, which uses bubble to hold each user's vote privately and chainlink to count the votes. Failed due to chainlink's limit of 5 api calls per execution.
Now working on an automatic KYC verification demo. https://github.com/Bubble-Protocol/chainlink-integration/tree/main/id-verification
Tested the javascript in the playground and it works fine. Unit tested the smart contracts and they work fine.
Getting a 'CBOR parsing error' in the response from the chainlink router.
My understanding of the error is that the DON has rejected the CBOR request, implying it has been encoded incorrectly. Encoding is performed by the FunctionsRequest solidity code in the function encodeCBOR. I have asked chainlink to confirm I'm using the correct smart contract versions.
Relevant source code: https://github.com/Bubble-Protocol/chainlink-integration/blob/main/id-verification/contracts/ChainlinkConsumer.sol https://github.com/Bubble-Protocol/chainlink-integration/blob/main/id-verification/functions/verifyId.js
On-chain logs: https://amoy.polygonscan.com/address/0x79cB5be4297cf8E01A87baaf986c26BB9150d1C6#events
Using solidity compiler version 0.8.28 and running on the Polygon Amoy testnet.
Blocked waiting for chainlink team to respond to support request.
Demonstration to showcase Chainlink Functions and Bubble Protocol working together. Goal is to add credibility for a potential technical partnership.