|
|
hai 2 meses | |
|---|---|---|
| .. | ||
| src | hai 2 meses | |
| .gitignore | hai 8 meses | |
| .prettierignore | hai 2 meses | |
| .prettierrc | hai 8 meses | |
| README.md | hai 2 meses | |
| package.json | hai 2 meses | |
| tsconfig.json | hai 2 meses | |
Gill is aimed at abstracting away many of the complexities and boilerplate required to perform common interactions with the Solana blockchain, while still offering the low level "escape hatches" when developers need (or want) fine-grain control.
Take a look through these examples to see how gill works and even how it compares to using the vanilla web3js v2 library.
pnpmesrunpnpm installcd examples/tokensOnce setup locally, you will be able to run the scripts included within this repo using esrun:
npx esrun ./src/<script>
pnpx esrun ./src/<script>
From the esrun readme:
esrun is a "work out of the box" library to execute Typescript (as well as modern Javascript with decorators and stuff) without having to use a bundler. This is useful for quick demonstrations or when launching your tests written in Typescript.
After getting setup locally, we recommend exploring the code of the following files (in order):