├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md ├── release-drafter.yml └── workflows │ ├── node.js.yml │ ├── pr-title.yml │ ├── publish-npm.yml │ ├── release-drafter.yml │ └── snyk.yml ├── .gitignore ├── .npmignore ├── .snyk ├── CHANGELOG.md ├── LICENSE ├── README.md ├── examples ├── aave-example │ ├── .gitignore │ ├── README.md │ ├── abi │ │ ├── LendingPool.json │ │ └── LendingPoolAddressesProvider.json │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── tsconfig.json ├── basic-example │ ├── .gitignore │ ├── README.md │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── tsconfig.json ├── nft-example │ ├── .gitignore │ ├── README.md │ ├── custom-token.ts │ ├── erc1155.ts │ ├── erc721.ts │ ├── package-lock.json │ ├── package.json │ └── tsconfig.json └── uniswap-example │ ├── .gitignore │ ├── .snyk │ ├── README.md │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── tsconfig.json ├── package.json ├── src ├── bridge │ ├── base-bridge.ts │ ├── bridge-factory.ts │ ├── ethers-bridge.ts │ └── web3-bridge.ts ├── constants │ └── base-abis.ts ├── index.ts ├── interfaces │ ├── bridge-params.ts │ └── chain.ts ├── nft │ ├── base-token.ts │ ├── custom-token.ts │ ├── erc1155.ts │ ├── erc721.ts │ └── utils.ts └── types │ └── abi.ts └── tsconfig.json /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.github/workflows/pr-title.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/workflows/pr-title.yml -------------------------------------------------------------------------------- /.github/workflows/publish-npm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/workflows/publish-npm.yml -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/workflows/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/snyk.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.github/workflows/snyk.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | tsconfig.json 2 | src 3 | -------------------------------------------------------------------------------- /.snyk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/.snyk -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/README.md -------------------------------------------------------------------------------- /examples/aave-example/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/aave-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/aave-example/README.md -------------------------------------------------------------------------------- /examples/aave-example/abi/LendingPool.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/aave-example/abi/LendingPool.json -------------------------------------------------------------------------------- /examples/aave-example/abi/LendingPoolAddressesProvider.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/aave-example/abi/LendingPoolAddressesProvider.json -------------------------------------------------------------------------------- /examples/aave-example/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/aave-example/index.ts -------------------------------------------------------------------------------- /examples/aave-example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/aave-example/package-lock.json -------------------------------------------------------------------------------- /examples/aave-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/aave-example/package.json -------------------------------------------------------------------------------- /examples/aave-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/aave-example/tsconfig.json -------------------------------------------------------------------------------- /examples/basic-example/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/basic-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/basic-example/README.md -------------------------------------------------------------------------------- /examples/basic-example/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/basic-example/index.ts -------------------------------------------------------------------------------- /examples/basic-example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/basic-example/package-lock.json -------------------------------------------------------------------------------- /examples/basic-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/basic-example/package.json -------------------------------------------------------------------------------- /examples/basic-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/basic-example/tsconfig.json -------------------------------------------------------------------------------- /examples/nft-example/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/nft-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/nft-example/README.md -------------------------------------------------------------------------------- /examples/nft-example/custom-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/nft-example/custom-token.ts -------------------------------------------------------------------------------- /examples/nft-example/erc1155.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/nft-example/erc1155.ts -------------------------------------------------------------------------------- /examples/nft-example/erc721.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/nft-example/erc721.ts -------------------------------------------------------------------------------- /examples/nft-example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/nft-example/package-lock.json -------------------------------------------------------------------------------- /examples/nft-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/nft-example/package.json -------------------------------------------------------------------------------- /examples/nft-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/nft-example/tsconfig.json -------------------------------------------------------------------------------- /examples/uniswap-example/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /examples/uniswap-example/.snyk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/uniswap-example/.snyk -------------------------------------------------------------------------------- /examples/uniswap-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/uniswap-example/README.md -------------------------------------------------------------------------------- /examples/uniswap-example/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/uniswap-example/index.ts -------------------------------------------------------------------------------- /examples/uniswap-example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/uniswap-example/package-lock.json -------------------------------------------------------------------------------- /examples/uniswap-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/uniswap-example/package.json -------------------------------------------------------------------------------- /examples/uniswap-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/examples/uniswap-example/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/package.json -------------------------------------------------------------------------------- /src/bridge/base-bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/bridge/base-bridge.ts -------------------------------------------------------------------------------- /src/bridge/bridge-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/bridge/bridge-factory.ts -------------------------------------------------------------------------------- /src/bridge/ethers-bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/bridge/ethers-bridge.ts -------------------------------------------------------------------------------- /src/bridge/web3-bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/bridge/web3-bridge.ts -------------------------------------------------------------------------------- /src/constants/base-abis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/constants/base-abis.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces/bridge-params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/interfaces/bridge-params.ts -------------------------------------------------------------------------------- /src/interfaces/chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/interfaces/chain.ts -------------------------------------------------------------------------------- /src/nft/base-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/nft/base-token.ts -------------------------------------------------------------------------------- /src/nft/custom-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/nft/custom-token.ts -------------------------------------------------------------------------------- /src/nft/erc1155.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/nft/erc1155.ts -------------------------------------------------------------------------------- /src/nft/erc721.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/nft/erc721.ts -------------------------------------------------------------------------------- /src/nft/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/src/nft/utils.ts -------------------------------------------------------------------------------- /src/types/abi.ts: -------------------------------------------------------------------------------- 1 | export type ABIStructure = { [key: string]: any } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/fireblocks-defi-sdk/HEAD/tsconfig.json --------------------------------------------------------------------------------