aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/index.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-09-20 02:25:46 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:11:53 +0800
commitcd7e41bd5bbf1abae4c855d6a666e6d9f7da2294 (patch)
treec5d07d4fdbe304295a1ad6dfc7ec0a246a578dc1 /packages/pipeline/src/index.ts
parentc46d2f8f9d4e632352637376b2556101bccad748 (diff)
downloaddexon-sol-tools-cd7e41bd5bbf1abae4c855d6a666e6d9f7da2294.tar
dexon-sol-tools-cd7e41bd5bbf1abae4c855d6a666e6d9f7da2294.tar.gz
dexon-sol-tools-cd7e41bd5bbf1abae4c855d6a666e6d9f7da2294.tar.bz2
dexon-sol-tools-cd7e41bd5bbf1abae4c855d6a666e6d9f7da2294.tar.lz
dexon-sol-tools-cd7e41bd5bbf1abae4c855d6a666e6d9f7da2294.tar.xz
dexon-sol-tools-cd7e41bd5bbf1abae4c855d6a666e6d9f7da2294.tar.zst
dexon-sol-tools-cd7e41bd5bbf1abae4c855d6a666e6d9f7da2294.zip
Restructure pipeline package. Create data-sources dir
Diffstat (limited to 'packages/pipeline/src/index.ts')
-rw-r--r--packages/pipeline/src/index.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/pipeline/src/index.ts b/packages/pipeline/src/index.ts
new file mode 100644
index 000000000..c9254cc2a
--- /dev/null
+++ b/packages/pipeline/src/index.ts
@@ -0,0 +1,8 @@
+import { Etherscan } from './data-sources/etherscan';
+
+const etherscan = new Etherscan(process.env.ETHERSCAN_API_KEY as string);
+
+(async () => {
+ const events = await etherscan.getContractEventsAsync('0x4f833a24e1f95d70f028921e27040ca56e09ab0b');
+ console.log(events);
+})();