0.5.0 • Published 2 years ago

atomicagent v0.5.0

Weekly downloads
196
License
MIT
Repository
github
Last release
2 years ago

💥 Atomic Agent Build status

User <-> Agent Swap Workflow

Workflow

Prerequisites

  1. Linux VM
  2. node 14
  3. mongoDB 4.2+
  4. RPC/API endpoints for the chains you want to support

Setup

git clone git@github.com:liquality/atomicagent.git
cd atomicagent
npm ci
cp sample.config.toml config.toml   # copy sample config
nano config.toml                    # configure your agent
nano src/migrate/data/assets.json   # add/remove assets
nano src/migrate/data/markets.json  # add/remove markets
npm run migrate                     # prepare agent with assets & markets

Liquality Hosted Agents

EnvironmentNetworkEndpoint
ProductionTestnethttps://liquality.io/swap-testnet/agent
ProductionMainnethttps://liquality.io/swap/agent
DevelopmentTestnethttps://liquality.io/swap-testnet-dev/agent
DevelopmentMainnethttps://liquality.io/swap-dev/agent

Liquality Testnet Nodes

NodeNetworkEndpoint
Bitcoin ElectrsTestnethttps://liquality.io/testnet/electrs
Bitcoin Batch ElectrsTestnethttps://liquality.io/electrs-testnet-batch
Ethereum ScraperTestnethttps://liquality.io/eth-ropsten-api
RSK ScraperTestnethttps://liquality.io/rsk-testnet-api
BSC ScraperTestnethttps://liquality.io/bsc-testnet-api
Polygon ScraperTestnethttps://liquality.io/polygon-testnet-api/

Liquality Mainnet Nodes

NodeNetworkEndpoint
Bitcoin ElectrsMainnethttps://api-mainnet-bitcoin-electrs.liquality.io
Bitcoin Batch ElectrsMainnethttps://api-mainnet-bitcoin-electrs-batch.liquality.io
Ethereum ScraperMainnethttps://liquality.io/eth-mainnet-api
RSK ScraperMainnethttps://liquality.io/rsk-mainnet-api
BSC ScraperMainnethttps://liquality.io/bsc-mainnet-api
Polygon ScraperMainnethttps://liquality.io/polygon-mainnet-api/

Run!

npm run api     # runs agent market maker api
npm run worker  # runs the background process

Test

Configure

cp sample.config.toml test.config.toml  # copy sample config
nano config.toml                        # configure your agent as per your test environment

Test!

chmod -R 777 test/docker/config
npm run docker:start
sleep 30                          # let bitcoind[regtest] mine first 100 blocks
npm run test

License

MIT

@amplitude/node@bull-board/api@bull-board/express@liquality/bitcoin-esplora-batch-api-provider@liquality/bitcoin-esplora-swap-find-provider@liquality/bitcoin-fee-api-provider@liquality/bitcoin-js-wallet-provider@liquality/bitcoin-networks@liquality/bitcoin-node-wallet-provider@liquality/bitcoin-rpc-fee-provider@liquality/bitcoin-rpc-provider@liquality/bitcoin-swap-provider@liquality/client@liquality/client-factory@liquality/crypto@liquality/cryptoassets@liquality/ethereum-eip1559-fee-provider@liquality/ethereum-erc20-provider@liquality/ethereum-erc20-scraper-swap-find-provider@liquality/ethereum-erc20-swap-provider@liquality/ethereum-js-wallet-provider@liquality/ethereum-networks@liquality/ethereum-rpc-fee-provider@liquality/ethereum-rpc-provider@liquality/ethereum-scraper-swap-find-provider@liquality/ethereum-swap-provider@liquality/near-js-wallet-provider@liquality/near-networks@liquality/near-rpc-provider@liquality/near-swap-find-provider@liquality/near-swap-provider@liquality/solana-networks@liquality/solana-rpc-provider@liquality/solana-swap-find-provider@liquality/solana-swap-provider@liquality/solana-wallet-provider@liquality/terra-networks@liquality/terra-rpc-provider@liquality/terra-swap-find-provider@liquality/terra-swap-provider@liquality/terra-wallet-provider@sentry/nodeaxiosbignumber.jsbluebirdbody-parserbullcommandercompressionconnect-mongocorsdate-fnsdebugexpressexpress-async-handlerexpress-basic-authexpress-sessionhelmethttp-errorsioredislodashmongoosenode-vaultsemverstandard-errorstring-argvtomluuid
0.5.0

2 years ago

0.4.10

2 years ago

0.4.10-next.11

2 years ago

0.4.10-next.13

2 years ago

0.4.13

2 years ago

0.4.14

2 years ago

0.4.11

2 years ago

0.4.12

2 years ago

0.4.12-next.10

2 years ago

0.4.12-next.11

2 years ago

0.4.10-next.9

2 years ago

0.4.10-next.6

2 years ago

0.4.10-next.5

2 years ago

0.4.10-next.8

2 years ago

0.4.12-next.2

2 years ago

0.4.14-next.1

2 years ago

0.4.12-next.1

2 years ago

0.4.12-next.0

2 years ago

0.4.10-next.4

2 years ago

0.4.12-next.6

2 years ago

0.4.12-next.5

2 years ago

0.4.10-next.1

2 years ago

0.4.10-next.3

2 years ago

0.4.9

3 years ago

0.4.9-next.2

3 years ago

0.4.10-next.0

3 years ago

0.4.9-next.0

3 years ago

0.4.9-next.1

3 years ago

0.4.8

3 years ago

0.4.8-next.0

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.6-next.5

3 years ago

0.4.6-next.4

3 years ago

0.4.6-next.6

3 years ago

0.4.6-next.3

3 years ago

0.4.6-next.2

3 years ago

0.4.6-next.1

3 years ago

0.4.6-next.0

3 years ago

0.4.5

3 years ago

0.4.5-next.8

3 years ago

0.4.5-next.7

3 years ago

0.4.5-next.6

3 years ago

0.4.5-next.5

3 years ago

0.4.5-next.3

3 years ago

0.4.5-next.4

3 years ago

0.4.5-next.2

3 years ago

0.4.5-next.1

3 years ago

0.4.5-next.0

3 years ago

0.4.4

3 years ago

0.4.4-next.3

3 years ago

0.4.4-next.2

3 years ago

0.4.4-next.1

3 years ago

0.4.3-next.0

3 years ago

0.4.3

3 years ago

0.4.0-next.6

3 years ago

0.4.0-next.7

3 years ago

0.4.0-next.2

3 years ago

0.4.0-next.3

3 years ago

0.4.0-next.4

3 years ago

0.4.0-next.5

3 years ago

0.4.0-next.0

3 years ago

0.4.0-next.1

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.4.2

3 years ago

0.3.31

3 years ago

0.3.31-next.0

3 years ago

0.3.30

3 years ago

0.3.29

3 years ago

0.3.28

3 years ago

0.3.27

3 years ago

0.3.26

3 years ago

0.3.25

3 years ago

0.3.24

3 years ago

0.3.23

3 years ago

0.3.22

3 years ago

0.3.21

3 years ago

0.3.20

3 years ago

0.3.19-next.1

3 years ago

0.3.19-next.0

3 years ago

0.3.19

3 years ago

0.3.17-next.0

3 years ago

0.3.17-next.1

3 years ago

0.3.18

3 years ago

0.3.17

3 years ago

0.3.16

3 years ago

0.3.16-next.0

3 years ago

0.3.15-next.0

3 years ago

0.3.15

3 years ago

0.3.14

3 years ago

0.3.13

3 years ago

0.3.12

3 years ago

0.3.12-next.0

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.10-next.0

3 years ago

0.3.8

3 years ago

0.3.9

3 years ago

0.3.8-next.1

3 years ago

0.3.8-next.0

3 years ago

0.3.7

3 years ago

0.3.7-next.7

3 years ago

0.3.7-next.5

3 years ago

0.3.7-next.4

3 years ago

0.3.7-next.6

3 years ago

0.3.7-next.1

3 years ago

0.3.7-next.0

3 years ago

0.3.7-next.3

3 years ago

0.3.7-next.2

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.0

3 years ago

0.3.1

3 years ago

0.3.0-next.8

3 years ago

0.3.0-next.7

3 years ago

0.3.0-next.6

3 years ago

0.3.0-next.4

3 years ago

0.3.0-next.2

3 years ago

0.3.0-next.1

3 years ago

0.3.0-next.0

3 years ago

0.2.26-next.0

3 years ago

0.2.25

3 years ago

0.2.24

3 years ago

0.2.23

4 years ago

0.2.23-next.2

4 years ago

0.2.23-next.1

4 years ago

0.2.23-next.0

4 years ago

0.2.22

4 years ago

0.2.22-next.1

4 years ago

0.2.21

4 years ago

0.2.22-next.0

4 years ago

0.2.21-next.2

4 years ago

0.2.21-next.0

4 years ago

0.2.21-next.1

4 years ago

0.2.20

4 years ago

0.2.20-next.3

4 years ago

0.2.20-next.2

4 years ago

0.2.20-next.1

4 years ago

0.2.20-next.0

4 years ago

0.2.19

4 years ago

0.2.19-next.6

4 years ago

0.2.19-next.5

4 years ago

0.2.19-next.4

4 years ago

0.2.19-next.3

4 years ago

0.2.19-next.2

4 years ago

0.2.19-next.0

4 years ago

0.2.18

4 years ago

0.2.18-next.0

4 years ago

0.2.17

4 years ago

0.2.17-next.2

4 years ago

0.2.17-next.0

4 years ago

0.2.17-next.1

4 years ago

0.2.16

4 years ago

0.2.16-next.1

4 years ago

0.2.16-next.0

4 years ago

0.2.15

4 years ago

0.2.15-next.9

4 years ago

0.2.15-next.8

4 years ago

0.2.15-next.7

4 years ago

0.2.15-next.6

4 years ago

0.2.15-next.5

4 years ago

0.2.15-next.4

4 years ago

0.2.15-next.2

4 years ago

0.2.15-next.1

4 years ago

0.2.14

4 years ago

0.2.15-next.0

4 years ago

0.2.14-next.1

4 years ago

0.2.14-next.0

4 years ago

0.2.13

4 years ago

0.2.13-next.0

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.11-next.6

4 years ago

0.2.12-next.0

4 years ago

0.2.11-next.5

4 years ago

0.2.11-next.4

4 years ago

0.2.11-next.3

4 years ago

0.2.11-next.2

4 years ago

0.2.11-next.1

4 years ago

0.2.11-next.0

4 years ago

0.2.1-1.next-0

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago