Install starknet with npm
$ npm install starknet
Import starknet
and use the API
import { defaultProvider } from 'starknet';
defaultProvider.getContractAddresses().then((data) => {
console.log(data);
});
If you consider to contribute to this project please read CONTRIBUTING.md first.
Special thanks to all the contributors, and especially Janek (@janek26) from Argent for driving the development of Starknet.js.
This library would not be possible without these rockstars.
Copyright (c) 2021 Sean James Han
Licensed under the MIT license.