From d68952107040d69d503e79af5950cdc5d695f441 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sun, 25 Feb 2024 15:46:14 +0100 Subject: [PATCH 1/3] fix typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26711d7..89ea9bd 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ Ethereum-Bitcoin exchange between Alice and Bob. ## How to try it out? You can use either testnets for Ethereum and Bitcoin networks or run the local test networks by -using such utilits as [`ganache`](https://trufflesuite.com/ganache/) for Ehtereum and +using such utilities as [`ganache`](https://trufflesuite.com/ganache/) for Ethereum and [`nigiri`](https://nigiri.vulpem.com/) for Bitcoin. You can use this deployed, verified and ready for use contracts: @@ -124,7 +124,7 @@ can find it in the readme section, for ZK proof generation. Before compiling make sure, that you have the OpenMP installed on your device. It is required dependency to build the `rapidsnark-sys` crate. ```bash -sudo apt update sudo apt upgrate +sudo apt update sudo apt upgrade sudo apt install libomp-dev ``` From ed208bc86eaccab3ad4f23e77d272b0ccd590534 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sun, 25 Feb 2024 15:48:26 +0100 Subject: [PATCH 2/3] fix typos --- scripts/trusted-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/trusted-setup.sh b/scripts/trusted-setup.sh index 5e4e8ff..1bf3d87 100755 --- a/scripts/trusted-setup.sh +++ b/scripts/trusted-setup.sh @@ -10,13 +10,13 @@ if [ -d ./circuits ]; then elif [ -d ../circuits ]; then BUILD_DIR="../$BUILD_DIR" else - echo "Error: can't find way to circuits folder: unknow directory." + echo "Error: can't find way to circuits folder: unknown directory." exit 1 fi mkdir -p $BUILD_DIR/$SETUP_POWERS -# Generatin trusted setup as powers/SETUP_POWERS.ptau +# Generating trusted setup as powers/SETUP_POWERS.ptau echo -e "\Generating trustep setup..." snarkjs powersoftau new bn128 ${SETUP_POWERS} ${BUILD_DIR}/${SETUP_POWERS}/pot${SETUP_POWERS}_0000.ptau From e1fefcbf0854c0304df4ae168d2f3143cb9eec04 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sun, 25 Feb 2024 15:50:09 +0100 Subject: [PATCH 3/3] fix typo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6db5685..5c4d677 100644 --- a/src/main.rs +++ b/src/main.rs @@ -89,7 +89,7 @@ pub struct SwapParticipant { /// Posidon hash of the swap secret. /// /// It is [`Some`] only after either [`Self::new_atomic_swap`] for swap initiator or - /// [`Self::accept_atomic_swap`] for swap counteraprty. + /// [`Self::accept_atomic_swap`] for swap counterparty. swap_secret_hash: Option<[u8; 32]>, /// Counterparty's Bitcoin public key that is used as a revocation key in Taprootized