Skip to content

Commit

Permalink
Watch tower (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kus authored May 6, 2021
1 parent 5e7806e commit 5a47533
Show file tree
Hide file tree
Showing 30 changed files with 115,119 additions and 4,605 deletions.
5 changes: 5 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PRIVATE_KEY_ROPSTEN=
ADDRESS_ROPSTEN=
INFURA_TOKEN=
ETHERSCAN_API_KEY=
ATOMEX_ADDRESS=
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "10.16"
- "14.16"

cache:
directories:
Expand All @@ -18,11 +18,11 @@ script:
deploy:
provider: script
skip_cleanup: true
script: make deploy-ropsten
# script: make deploy-ropsten
on:
branch: master
branch: watchTower
tags: true

after_deploy:
- make github-deployment
- npm run verify_ropsten
# - make github-deployment
# - npm run verify_ropsten
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
9 changes: 9 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"ExpandedNodes": [
"",
"\\contracts",
"\\migrations"
],
"SelectedNode": "\\Makefile",
"PreviewInSolutionExplorer": false
}
961 changes: 961 additions & 0 deletions .vs/atomex-solidity/config/applicationhost.config

Large diffs are not rendered by default.

Binary file added .vs/atomex-solidity/v16/.suo
Binary file not shown.
Binary file added .vs/slnx.sqlite
Binary file not shown.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export $(shell sed 's/=.*//' .env)
.PHONY: test

test:
npm run solium && npm run truffle
npm run truffle

deploy-ropsten:
npm run deploy_ropsten 2>&1| tee deploy.output
Expand All @@ -16,6 +16,9 @@ deploy-mainnet:
verify-mainnet:
npm run verify_mainnet

verify-ropsten:
./node_modules/.bin/truffle run verify Atomex@$$ATOMEX_ADDRESS --network ropsten

github-deployment:
CONTRACT_ADDRESS=$$(cat deploy.output | grep "contract address" | awk '{ print $$4 }' | tail -1)
ETHERSCAN_URL=https://etherscan.io/address/$$CONTRACT_ADDRESS
Expand Down
Loading

0 comments on commit 5a47533

Please sign in to comment.