Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ethatomicswap and Ethereum AtomicSwap smart contract #76

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 27 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
language: go
go:
- 1.9.x
- 1.10.x
sudo: false
install:
- go get -v github.com/golang/dep/cmd/dep
- dep ensure
- go install ./cmd/...
- go get -v github.com/alecthomas/gometalinter
- gometalinter --install
script:
- export PATH=$PATH:$HOME/gopath/bin
- ./goclean.sh
jobs:
include:
- stage: test
language: go
go:
- 1.9.x
- 1.10.x
sudo: false
install:
- go get -v github.com/golang/dep/cmd/dep
- dep ensure
- go install ./cmd/...
- go get -v github.com/alecthomas/gometalinter
- gometalinter --install
script:
- export PATH=$PATH:$HOME/gopath/bin
- ./goclean.sh
- go test -v -race ./cmd/ethatomicswap
- stage: test
language: node_js
node_js:
- "node"
install:
- npm install -g truffle
script:
- cd cmd/ethatomicswap/contract/src
- truffle test
125 changes: 123 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exists for the following coins and wallets:
* Bitcoin ([Bitcoin Core](https://github.com/bitcoin/bitcoin))
* Bitcoin Cash ([Bitcoin ABC](https://github.com/Bitcoin-ABC/bitcoin-abc), [Bitcoin Unlimited](https://github.com/BitcoinUnlimited/BitcoinUnlimited), [Bitcoin XT](https://github.com/bitcoinxt/bitcoinxt))
* Decred ([dcrwallet](https://github.com/decred/dcrwallet))
* Ethereum ([Go Ethereum](https://github.com/ethereum/go-ethereum))
* Litecoin ([Litecoin Core](https://github.com/litecoin-project/litecoin))
* Monacoin ([Monacoin Core](https://github.com/monacoinproject/monacoin))
* Particl ([Particl Core](https://github.com/particl/particl-core))
Expand Down
2 changes: 2 additions & 0 deletions cmd/ethatomicswap/contract/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.abi
*.bin
Loading