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

Commits on Jun 22, 2018

  1. add smart contract for the Ethereum atomic swaps

    includes README with instructions how to test and deploy
    the (Solidity) atomic swap contract using truffle
    GlenDC committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    71b4cff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43e0960 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2018

  1. move ethatomicswap contract src and add generated Go contract

    includes the generate.go file which allows you to
    generate the atomicswap.go file yourself, using the Solidity AtomicSwap source file
    GlenDC committed Jun 23, 2018
    Configuration menu
    Copy the full SHA
    e3c27ae View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2018

  1. Configuration menu
    Copy the full SHA
    6773b2f View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2018

  1. include binary contract code in generated Go code

    this allows the deployment (through Go) of the smart contract
    GlenDC committed Jul 16, 2018
    Configuration menu
    Copy the full SHA
    3043d6b View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2018

  1. add initial version of ethatomicswap

    a tool to support atomic swaps for Ethereum
    GlenDC committed Jul 19, 2018
    Configuration menu
    Copy the full SHA
    0c31e0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab14a4e View commit details
    Browse the repository at this point in the history
  3. improve ethatomiswap tool

    + clearer error messages (by pre-validating method requirements),
      it makes the commands slightly slower, but gives clearer errors
    + improved authentication flow:
      + (a) authenticate by signing from the CLI itself:
        give path to fileKey as a flag and enter securily the
        passphrase using the STDIN to decrypt that file
      + (b) or give a (by the daemon known) account address,
        as to use it to sign with that account from the daemon
      + (c) or give no account info at all, and use the first found account
        address instead (works best if only one account is known by the daemon)
    
    Note: (b) and (c) is not as secure, as it relies that your daemon
          has the accounts unlocked, making it possible for anyone
          that can access its RPC endpoints to use your unlocked accounts
    GlenDC committed Jul 19, 2018
    Configuration menu
    Copy the full SHA
    e5b2d8a View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2018

  1. Configuration menu
    Copy the full SHA
    5dd2b39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2be324 View commit details
    Browse the repository at this point in the history
  3. fix go linter reported errors

    and added some more code comments as well
    GlenDC committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    aa4bd41 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd6cfb2 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Configuration menu
    Copy the full SHA
    2f6679b View commit details
    Browse the repository at this point in the history