mirror of
https://github.com/vacp2p/stealth-address-kit.git
synced 2026-01-09 13:38:01 -05:00
chore: setup for release
This commit is contained in:
8
.github/workflows/nightly-release.yml
vendored
8
.github/workflows/nightly-release.yml
vendored
@@ -40,13 +40,13 @@ jobs:
|
||||
cross build --release --target ${{ matrix.target }} --features ${{ matrix.curve }}
|
||||
mkdir release
|
||||
cp target/${{ matrix.target }}/release/*.a release/
|
||||
tar -czvf ${{ matrix.target }}-erc-5564-${{matrix.curve}}.tar.gz release/
|
||||
tar -czvf ${{ matrix.target }}-${{matrix.curve}}.tar.gz release/
|
||||
|
||||
- name: Upload archive artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.target }}-archive
|
||||
path: ${{ matrix.target }}-erc-5564-${{matrix.curve}}.tar.gz
|
||||
path: ${{ matrix.target }}-${{matrix.curve}}.tar.gz
|
||||
retention-days: 2
|
||||
|
||||
macos:
|
||||
@@ -82,13 +82,13 @@ jobs:
|
||||
cross build --release --target ${{ matrix.target }} --features ${{ matrix.curve }}
|
||||
mkdir release
|
||||
cp target/${{ matrix.target }}/release/*.a release/
|
||||
tar -czvf ${{ matrix.target }}-erc-5564-${{ matrix.curve }}.tar.gz release/
|
||||
tar -czvf ${{ matrix.target }}-${{ matrix.curve }}.tar.gz release/
|
||||
|
||||
- name: Upload archive artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.target }}-archive
|
||||
path: ${{ matrix.target }}-erc-5564-${{ matrix.curve }}.tar.gz
|
||||
path: ${{ matrix.target }}-${{ matrix.curve }}.tar.gz
|
||||
retention-days: 2
|
||||
|
||||
prepare-prerelease:
|
||||
|
||||
640
Cargo.lock
generated
640
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,10 @@
|
||||
[package]
|
||||
name = "erc-5564-rs"
|
||||
name = "stealth_address_kit"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
name = "erc_5564_rs"
|
||||
name = "stealth_address_kit"
|
||||
path = "src/lib.rs"
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
|
||||
@@ -13,8 +13,8 @@ Uses the [arkworks-rs](https://github.com/arkworks-rs/curves) suite of libraries
|
||||
## Usage
|
||||
|
||||
```rust
|
||||
use erc_5564_rs::{StealthAddressOnCurve};
|
||||
use ark_bn254::Bn254; // or ark_bls_12_381::Bls12_381 or ark_bls_12_377::Bls12_377, erc_5564_rs::Secp256k1, erc_5564_rs::Secp256r1
|
||||
use stealth_address_kit::{StealthAddressOnCurve};
|
||||
use ark_bn254::Bn254; // or ark_bls_12_381::Bls12_381 or ark_bls_12_377::Bls12_377, stealth_address_kit::Secp256k1, stealth_address_kit::Secp256r1
|
||||
|
||||
fn main() {
|
||||
let (spending_key, spending_public_key) = Bn254::random_keypair();
|
||||
|
||||
Reference in New Issue
Block a user