https://github.com/moneroexamples/ring-signatures
How to generated and verify ring signatures in monero
https://github.com/moneroexamples/ring-signatures
Last synced: 11 months ago
JSON representation
How to generated and verify ring signatures in monero
- Host: GitHub
- URL: https://github.com/moneroexamples/ring-signatures
- Owner: moneroexamples
- Created: 2015-11-30T05:53:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-27T08:06:17.000Z (over 10 years ago)
- Last Synced: 2025-02-28T11:56:47.500Z (over 1 year ago)
- Language: C++
- Size: 82 KB
- Stars: 13
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ring signatures
Ring signatures are an essential part of [Monero](https://getmonero.org/).
But how do they look like in a transaction? How do you generate and check them?
In this example, this problem is addressed. Specifically, a C++ program called
`rings` is developed. The program prints out all signatures used in a given transaction.
## Pre-requisites
Everything here was done and tested
on Ubuntu 14.04 x86_64 and Ubuntu 15.10 x86_64.
Instruction for Monero compilation:
- [Ubuntu 14.04 x86_64](http://moneroexamples.github.io/compile-monero-ubuntu/)
- [Ubuntu 15.10 x86_64](http://moneroexamples.github.io/compile-monero-ubuntu-1510/)
Monero source code compilation and setup are same as
[here](http://moneroexamples.github.io/access-blockchain-in-cpp/).
## C++ code
The main part of the example is main.cpp.
```c++
```
## Program options
```
./rings -h
```
## Example input and output
## Compile this example
The dependencies are same as those for Monero, so I assume Monero compiles
correctly. If so then to download and compile this example, the following
steps can be executed:
```bash
# download the source code
git clone https://github.com/moneroexamples/ring-signatures.git
# enter the downloaded sourced code folder
cd ring-signatures
# create the makefile
cmake .
# compile
make
```
After this, `rings` executable file should be present in access-blockchain-in-cpp
folder. How to use it, can be seen in the above example outputs.
## How can you help?
Constructive criticism, code and website edits are always good. They can be made through github.
Some Monero are also welcome:
```
48daf1rG3hE1Txapcsxh6WXNe9MLNKtu7W7tKTivtSoVLHErYzvdcpea2nSTgGkz66RFP4GKVAsTV14v6G3oddBTHfxP6tU
```