Files
atomic-swap/Makefile
noot 39e6cc0bcd integrate DLEq into protocol (#67)
* update contract to use secp256k1 curve verification

* update go contract bindings script and bindings

* cleanup rust code, move to its own folder

* remove commented out stuff

* go fmt

* add go wrapper around farcaster-dleq

* add unit tests for farcaster-dleq wrapper

* add dleq unit test for keys

* add swap.go claim test, worksgit status

* add swap.go refund tests

* lint

* update SendKeysMessage to include DLEqProof, update alice/bob generateKeys

* add dleq proof verification to alice/bob handlers

* move alice and bob to protocol package

* add common protocol funcs for generating/verifying dleq proof

* lint

* update alice to store secp256k1 pubkey commitments in contract, update alice/bob to use dleq secret when calling contract

* update alice unit tests

* fix bob unit tests

* update network msg size

* add build-dleq makefile step

* cleanup

* attempt to fix test

* skip inconsistent test on CI
2022-01-15 13:41:27 -05:00

21 lines
390 B
Makefile

.PHONY: lint test install build build-dleq
all: build-dleq install
lint:
./scripts/install_lint.sh
${GOPATH}/bin/golangci-lint run
test:
./scripts/run-unit-tests.sh
test-integration:
./scripts/run-integration-tests.sh
install:
cd cmd/ && go install && cd ..
build:
./scripts/build.sh
build-dleq:
./scripts/install-rust.sh && cd farcaster-dleq && cargo build --release && cd ..