mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-10 06:38:04 -05:00
* Added new `format-solidity` and `lint-solidity` Makefile targets * Updated documentation on how to install the new tools dependencies * Formatted the solidity code, updated expected byte code and deployed stagenet contract * Updated go.mod to go 1.19 * Updated Github actions for go 1.19 and we now use all formatters/linters in the actions checks
708 B
708 B
Building the project
- Install Golang
On Ubuntu, the easiest way to keep up-to-date with the latest stable version of Go is with snap:
sudo snap install go --classic
On other systems or in docker, use the directions here: https://go.dev/doc/install. Summary for X86-64 Linux:
wget https://go.dev/dl/go1.18.7.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.7.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> .profile
source .profile
- Clone the repo:
git clone https://github.com/athanorlabs/atomic-swap.git
cd atomic-swap
- Finally, build the repo:
make build
This creates the binaries swapd and swapcli.