Install starknet with npm
$ npm install starknet
Import starknet
and use the API
import starknet from 'starknet';
starknet.getContractAddresses().then((data) => {
console.log(data);
});
Copyright (c) 2021 Sean James Han
Licensed under the MIT license.