Questions tagged [pairings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
45 views

Why is there a price difference for pair contracts and swap pair contracts in Uniswap?

I created a few bots to pull data from Uniswap. For example, using ETH/DAI. Even though the pairs are the same, the contract ID's are different for pairs and swap. Why is it that the swap price ...
3
votes
0answers
72 views

Uniswap path generation

The uniswap contract has a function called swapTokensForExactTokens. One of the arguments to this function is an array of addresses called "path" which is the route that the transfer will ...
4
votes
1answer
3k views

How to query Uniswap api in order to get the pair ID of a chosen token?

I am using the Uniswap v2 api subgraph but I am running into a bit of an issue that I cannot resolve. Basically I want to query the api to get the latest token swaps of a chosen token and Eth. Using ...
1
vote
0answers
24 views

Does Ethereum support bilinear pairing calculation?

Ethereum pre-compiled x08 address can do pairing checks, but if I just want the smart contract to calculate a pairing, such as e(a,b), instead of checking whether the pairing e(a,b) is equal to e(c,d),...
2
votes
0answers
63 views

Does Ethereum support just bilinear pairing calculation not the pairing check?

I need to implement bilinear pairing calculation on my contract. Specifically, I have uploaded some parameters and need other users to calculate the pairing for me and I will pay for them if their ...
1
vote
0answers
97 views

How to compute pairing in a smart contract

I am working on the elliptic curve and pairing stuff in Ethereum smart contract. How can I compute pairing such e(p1,p2)? I know that we have a pre-compile pairing check in Ethereum client which is ...
2
votes
0answers
223 views

How the following pairing equality be verified in Ethereum Smart contracts?

I have found available precompiled contracts in solidity. For example, this answer enter link description here points out a precompiled contract that can verify BLS signature. However, looking at the ...
2
votes
1answer
176 views

Errors in when compiling the BLS signature in remix?

Etherum can verify BLS signatures, In this answer Does Ethereum support pairing operations? There is an example of how to verify BLS in solidity. However, when I tried to test the code in remix, ...
3
votes
1answer
1k views

Does Ethereum support pairing operations?

I need to build an application that uses bilinear pairing operations for generating signatures. If I send a message with its signature to Ethereum, can Ethereum verify this message? Does the EVM ...
6
votes
1answer
1k views

How can we verify BGLS aggregate signatures in Solidity?

BGLS [1] is an aggregate signature scheme by Boneh et al., that allows aggregation of signatures on n different messages from n different signers. What I want to achieve is to verify such signatures ...
4
votes
1answer
525 views

How to use Ethereum precompile bn256Pairing to check equality on symmetric groups?

The address 0x8 contains bn256Pairing pre-compiled contract on Byzantium release. I have the following questions : If I have G_1 = G_2, i.e., a symmetric pairing, is it possible to check e(a_1, b_1) ?...
3
votes
0answers
384 views

Can the precompiles in Byzantium for pairings be used for implementation of BLS verification?

I am looking into implementing some operations for the BLS signature scheme in Solidity, using the new precompiled contracts for pairing operations released with Byzantium. In BLS verification, to ...