Consensys / abi-decoder

Nodejs and Javascript library for decoding data params and events from ethereum transactions
GNU General Public License v3.0
633 stars 218 forks source link

How to use this library with svelte #59

Open Garito opened 3 years ago

Garito commented 3 years ago

Hi! I'm trying to use this library with svelte but after install it with npm i -D Besides a low severity vulnerability with yargs-parser, when I try to do

import abiDecoder from 'abi-decoder'; 

it raises a bunch of traces starting with:

Missing shims for Node.js built-ins

So I deduce I'm missing a build process (bower?) Can you explain this step? I don't use bower Or even better: can I use this library directly on svelte and rollup?

Thanks