An open API service indexing awesome lists of open source software.

https://github.com/gotneb/bcapp-api

A BCAPP's api written using Spark web framework.
https://github.com/gotneb/bcapp-api

Last synced: 9 months ago
JSON representation

A BCAPP's api written using Spark web framework.

Awesome Lists containing this project

README

          

# BCAPP
A BCAPP's api library written using [Spark Web Framework.](https://sparkjava.com/)

:white_circle: All of them return in a JSON format.

### :bookmark: ECC's endpoints

modp

#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/modp//
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| n | Big Integer |
| p1 | Big Integer |

inverse



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/inverse//


```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| r | Big Integer |
| p | Big Integer |

doublep



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/doublep//
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| x | Big Integer |
| y | Big Integer |

addp



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/addp////
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| x1 | Big Integer |
| y1 | Big Integer |
| x2 | Big Integer |
| y2 | Big Integer |

eccnp



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/eccnp///
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| n | Big Integer |
| x | Big Integer |
| y | Big Integer |

### :bookmark: TonelliShanks's endpoints

pow_mod



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/pow_mod///
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| base | Big Integer |
| expoent | Big Integer |
| modulus | Big Integer |

sqrtcf



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/sqrtcf//


```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| n | Big Integer |
| p | Big Integer |

### :bookmark: EcdsaSecretus' endpoints

knum



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/knum///
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| HA4 | String |
| PVTKEY | String |
| e | String |

ecdsabsv



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/ecdsabsv///
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| e | String |
| PVTKEY | String |
| HA4 | String |

- [ ] ECDSAVerify3 :warning:

- [ ] ECDSAVerify :warning:

### :bookmark: Keygen's endpoints

publicKey



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/public-key/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

stringToHEXString



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/string-to-hex-string/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

publicKeyHEX



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/public-key-hex/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

publicKeyCompSEC



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/public-key-comp-sec/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

publicKeyUncompSEC



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/public-key-uncomp-sec/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

pvtKey2



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/pvt-key-2/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

secKey



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/sec-key/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

secKeyHashToBigInt



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/sec-key-hash-to-big-int/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

HashToBigInt



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/hash-to-big-int/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

HashToBigIntWIF



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/hash-to-big-int-wif/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| text | String |

encKeyToHexSTR



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/enc-key-to-hex-str/"", ""
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| point | BigInteger[] |

encKeyHalfToHexSTR



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/enc-key-half-to-hex-str/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| point | BigInteger |

encKeyHalfToByteSTR



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/enc-key-half-to-byte-str/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| point | BigInteger |

pubKeyRev



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/pub-key-rev/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| pubkey | String |

pubKeyCompSECRev



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/pub-key-comp-sec-rev/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| pubkey | String |

pubKeyUncompSECRev



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/pub-key-uncomp-sec-rev/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| pubkey | String |

bsvWallet



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/bsv-wallet/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| pubkeyCOD | String |

bsvWalletFull



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/bsv-wallet-full//
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| pubkeyCOD | String |
| compressed | Boolean |

addRMD



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/addRMD/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| hashKey | String |

getAddressFromRMDHash



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/get-address-from-rmd-hash/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| ripemdHash | String |

bsvWalletRMD160



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/bsv-wallet-rmd160//
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| pubkeyCOD | String |
| compressed | Boolean |

bsvPKvsWALLET



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/bsv-pk-vs-wallet//
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| pubkeyCOD | String |
| walletRMD | String |

sigDERrev



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/sig-der-rev/
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| signECDSA | String |

sigDER



#### HTTP Request

```
GET https://bcapp-spark.herokuapp.com/sig-der/"", ""
```
#### URL Parameters

| Parameter | Description |
| --- | --- |
| signECDSA | BigInteger[] |

## :memo: TODO
- [x] Ecc
- [x] TonelliShanks
- [x] EcdsaSecretus
- [x] Keygen
- [ ] Ripemd160
- [ ] SHA256