├── .github └── workflows │ ├── contract.yml │ ├── frontend.yml │ └── node.yml ├── LICENSE ├── README.md ├── app.json ├── bin ├── README.md ├── compile ├── detect └── release ├── client ├── .gitignore ├── README.md ├── design │ ├── README.md │ ├── rendered.pdf │ └── source.sketch ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.test.tsx │ ├── App.tsx │ ├── Web3Context │ │ └── index.tsx │ ├── contracts │ │ ├── IERC20.json │ │ ├── LN2tBTC.json │ │ └── deployedAddresses.ts │ ├── css │ │ └── App.css │ ├── ethereum.ts │ ├── img │ │ ├── icons.svg │ │ ├── loader.svg │ │ ├── logo.svg │ │ └── pattern.svg │ ├── index.css │ ├── index.tsx │ ├── lib.d.ts │ ├── react-app-env.d.ts │ ├── serviceWorker.ts │ ├── setupTests.ts │ └── views │ │ ├── Body │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── Footer │ │ ├── __snapshots__ │ │ │ └── index.test.tsx.snap │ │ ├── index.test.tsx │ │ ├── index.tsx │ │ └── modal-data.tsx │ │ ├── Header │ │ └── index.tsx │ │ ├── Modal │ │ ├── __snapshots__ │ │ │ └── index.test.tsx.snap │ │ ├── index.test.tsx │ │ └── index.tsx │ │ ├── Revert │ │ └── index.tsx │ │ ├── UserAddress │ │ └── index.tsx │ │ └── Widget │ │ ├── TabContent │ │ ├── Panes │ │ │ ├── Operate │ │ │ │ ├── OperatePane.tsx │ │ │ │ └── index.tsx │ │ │ ├── Swap │ │ │ │ ├── InvoiceLN2tbtc.tsx │ │ │ │ ├── Invoicetbtc2ln.tsx │ │ │ │ ├── SwapPane.tsx │ │ │ │ └── index.tsx │ │ │ └── index.tsx │ │ └── index.tsx │ │ ├── TabHeader │ │ └── index.tsx │ │ ├── common │ │ ├── ActionButton │ │ │ ├── __snapshots__ │ │ │ │ └── index.test.tsx.snap │ │ │ ├── index.test.tsx │ │ │ └── index.tsx │ │ ├── ContentBlock │ │ │ ├── TextQR.tsx │ │ │ ├── __snapshots__ │ │ │ │ └── index.test.tsx.snap │ │ │ ├── index.test.tsx │ │ │ └── index.tsx │ │ ├── Input │ │ │ ├── __snapshots__ │ │ │ │ └── index.test.tsx.snap │ │ │ ├── index.test.tsx │ │ │ └── index.tsx │ │ ├── Notification │ │ │ └── index.tsx │ │ └── Tooltip │ │ │ ├── __snapshots__ │ │ │ └── index.test.tsx.snap │ │ │ ├── index.test.tsx │ │ │ └── index.tsx │ │ ├── index.tsx │ │ ├── utils.test.ts │ │ └── utils.ts └── tsconfig.json ├── contract ├── .gitattributes ├── .gitignore ├── README.md ├── contracts │ ├── LN2tBTC.sol │ └── Migrations.sol ├── migrations │ ├── 1_initial_migration.js │ └── 2_deploy_contracts.js ├── package-lock.json ├── package.json ├── test │ ├── TestLN2tBTC.sol │ └── metacoin.js └── truffle-config.js ├── images ├── README.md ├── ln2tbtc.svg ├── screenshot.png └── tbtc2ln.svg └── node ├── .eslintrc.js ├── .gitignore ├── Procfile ├── README.md ├── package-lock.json ├── package.json ├── src ├── contract │ ├── LN2tBTC.json │ ├── deployedAddresses.ts │ ├── index.ts │ └── types.ts ├── fees.ts ├── getRoute.ts ├── index.ts ├── lib.d.ts ├── parseInvoice.ts └── utils.ts └── tsconfig.json /.github/workflows/contract.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/.github/workflows/contract.yml -------------------------------------------------------------------------------- /.github/workflows/frontend.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/.github/workflows/frontend.yml -------------------------------------------------------------------------------- /.github/workflows/node.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/.github/workflows/node.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/README.md -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/app.json -------------------------------------------------------------------------------- /bin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/bin/README.md -------------------------------------------------------------------------------- /bin/compile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/bin/compile -------------------------------------------------------------------------------- /bin/detect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/bin/detect -------------------------------------------------------------------------------- /bin/release: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "--- {}" 4 | -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/README.md -------------------------------------------------------------------------------- /client/design/README.md: -------------------------------------------------------------------------------- 1 | All credit goes to @bakarapara for the design work. 2 | -------------------------------------------------------------------------------- /client/design/rendered.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/design/rendered.pdf -------------------------------------------------------------------------------- /client/design/source.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/design/source.sketch -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/package.json -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/public/logo192.png -------------------------------------------------------------------------------- /client/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/public/logo512.png -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/public/manifest.json -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/public/robots.txt -------------------------------------------------------------------------------- /client/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/App.test.tsx -------------------------------------------------------------------------------- /client/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/App.tsx -------------------------------------------------------------------------------- /client/src/Web3Context/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/Web3Context/index.tsx -------------------------------------------------------------------------------- /client/src/contracts/IERC20.json: -------------------------------------------------------------------------------- 1 | ../../../contract/build/contracts/IERC20.json -------------------------------------------------------------------------------- /client/src/contracts/LN2tBTC.json: -------------------------------------------------------------------------------- 1 | ../../../contract/build/contracts/LN2tBTC.json -------------------------------------------------------------------------------- /client/src/contracts/deployedAddresses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/contracts/deployedAddresses.ts -------------------------------------------------------------------------------- /client/src/css/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/css/App.css -------------------------------------------------------------------------------- /client/src/ethereum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/ethereum.ts -------------------------------------------------------------------------------- /client/src/img/icons.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/img/icons.svg -------------------------------------------------------------------------------- /client/src/img/loader.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/img/loader.svg -------------------------------------------------------------------------------- /client/src/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/img/logo.svg -------------------------------------------------------------------------------- /client/src/img/pattern.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/img/pattern.svg -------------------------------------------------------------------------------- /client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/index.css -------------------------------------------------------------------------------- /client/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/index.tsx -------------------------------------------------------------------------------- /client/src/lib.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/lib.d.ts -------------------------------------------------------------------------------- /client/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /client/src/serviceWorker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/serviceWorker.ts -------------------------------------------------------------------------------- /client/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/setupTests.ts -------------------------------------------------------------------------------- /client/src/views/Body/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Body/index.tsx -------------------------------------------------------------------------------- /client/src/views/Body/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Body/styles.module.css -------------------------------------------------------------------------------- /client/src/views/Footer/__snapshots__/index.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Footer/__snapshots__/index.test.tsx.snap -------------------------------------------------------------------------------- /client/src/views/Footer/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Footer/index.test.tsx -------------------------------------------------------------------------------- /client/src/views/Footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Footer/index.tsx -------------------------------------------------------------------------------- /client/src/views/Footer/modal-data.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Footer/modal-data.tsx -------------------------------------------------------------------------------- /client/src/views/Header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Header/index.tsx -------------------------------------------------------------------------------- /client/src/views/Modal/__snapshots__/index.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Modal/__snapshots__/index.test.tsx.snap -------------------------------------------------------------------------------- /client/src/views/Modal/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Modal/index.test.tsx -------------------------------------------------------------------------------- /client/src/views/Modal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Modal/index.tsx -------------------------------------------------------------------------------- /client/src/views/Revert/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Revert/index.tsx -------------------------------------------------------------------------------- /client/src/views/UserAddress/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/UserAddress/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/Panes/Operate/OperatePane.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/Panes/Operate/OperatePane.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/Panes/Operate/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/Panes/Operate/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/Panes/Swap/InvoiceLN2tbtc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/Panes/Swap/InvoiceLN2tbtc.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/Panes/Swap/Invoicetbtc2ln.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/Panes/Swap/Invoicetbtc2ln.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/Panes/Swap/SwapPane.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/Panes/Swap/SwapPane.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/Panes/Swap/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/Panes/Swap/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/Panes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/Panes/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabContent/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabContent/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/TabHeader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/TabHeader/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/ActionButton/__snapshots__/index.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/ActionButton/__snapshots__/index.test.tsx.snap -------------------------------------------------------------------------------- /client/src/views/Widget/common/ActionButton/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/ActionButton/index.test.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/ActionButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/ActionButton/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/ContentBlock/TextQR.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/ContentBlock/TextQR.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/ContentBlock/__snapshots__/index.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/ContentBlock/__snapshots__/index.test.tsx.snap -------------------------------------------------------------------------------- /client/src/views/Widget/common/ContentBlock/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/ContentBlock/index.test.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/ContentBlock/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/ContentBlock/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/Input/__snapshots__/index.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/Input/__snapshots__/index.test.tsx.snap -------------------------------------------------------------------------------- /client/src/views/Widget/common/Input/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/Input/index.test.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/Input/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/Input/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/Notification/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/Notification/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/Tooltip/__snapshots__/index.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/Tooltip/__snapshots__/index.test.tsx.snap -------------------------------------------------------------------------------- /client/src/views/Widget/common/Tooltip/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/Tooltip/index.test.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/common/Tooltip/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/common/Tooltip/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/index.tsx -------------------------------------------------------------------------------- /client/src/views/Widget/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/utils.test.ts -------------------------------------------------------------------------------- /client/src/views/Widget/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/src/views/Widget/utils.ts -------------------------------------------------------------------------------- /client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/client/tsconfig.json -------------------------------------------------------------------------------- /contract/.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity 2 | -------------------------------------------------------------------------------- /contract/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | .vscode 4 | -------------------------------------------------------------------------------- /contract/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/README.md -------------------------------------------------------------------------------- /contract/contracts/LN2tBTC.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/contracts/LN2tBTC.sol -------------------------------------------------------------------------------- /contract/contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/contracts/Migrations.sol -------------------------------------------------------------------------------- /contract/migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /contract/migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /contract/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/package-lock.json -------------------------------------------------------------------------------- /contract/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/package.json -------------------------------------------------------------------------------- /contract/test/TestLN2tBTC.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/test/TestLN2tBTC.sol -------------------------------------------------------------------------------- /contract/test/metacoin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/test/metacoin.js -------------------------------------------------------------------------------- /contract/truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/contract/truffle-config.js -------------------------------------------------------------------------------- /images/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/images/README.md -------------------------------------------------------------------------------- /images/ln2tbtc.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/images/ln2tbtc.svg -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/images/screenshot.png -------------------------------------------------------------------------------- /images/tbtc2ln.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/images/tbtc2ln.svg -------------------------------------------------------------------------------- /node/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/.eslintrc.js -------------------------------------------------------------------------------- /node/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | -------------------------------------------------------------------------------- /node/Procfile: -------------------------------------------------------------------------------- 1 | web: npm start 2 | -------------------------------------------------------------------------------- /node/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/README.md -------------------------------------------------------------------------------- /node/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/package-lock.json -------------------------------------------------------------------------------- /node/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/package.json -------------------------------------------------------------------------------- /node/src/contract/LN2tBTC.json: -------------------------------------------------------------------------------- 1 | ../../../contract/build/contracts/LN2tBTC.json -------------------------------------------------------------------------------- /node/src/contract/deployedAddresses.ts: -------------------------------------------------------------------------------- 1 | ../../../client/src/contracts/deployedAddresses.ts -------------------------------------------------------------------------------- /node/src/contract/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/src/contract/index.ts -------------------------------------------------------------------------------- /node/src/contract/types.ts: -------------------------------------------------------------------------------- 1 | ../../../client/src/ethereum.ts -------------------------------------------------------------------------------- /node/src/fees.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/src/fees.ts -------------------------------------------------------------------------------- /node/src/getRoute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/src/getRoute.ts -------------------------------------------------------------------------------- /node/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/src/index.ts -------------------------------------------------------------------------------- /node/src/lib.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/src/lib.d.ts -------------------------------------------------------------------------------- /node/src/parseInvoice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/src/parseInvoice.ts -------------------------------------------------------------------------------- /node/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/src/utils.ts -------------------------------------------------------------------------------- /node/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keep-community/tbtcswaps/HEAD/node/tsconfig.json --------------------------------------------------------------------------------