The fastest library I can find for pairing based crypto is https://github.com/herumi/mcl How does this compare to Curve25519 https://github.com/bernedogit/amber The trouble is that doing interesting things with crypto currency tends to involve rather large number of elliptic curve operations per transaction.