Nick Frostbutter 174b897acc refactor: sort imports (#290) 2 mesi fa
..
src 174b897acc refactor: sort imports (#290) 2 mesi fa
.gitignore c79d915175 feat: add token examples 8 mesi fa
.prettierignore ff37d8d2cb [chore] prettier style check and fix (#226) 2 mesi fa
.prettierrc f7cecab2ad refactor: token examples (#80) 8 mesi fa
README.md ff37d8d2cb [chore] prettier style check and fix (#226) 2 mesi fa
package.json ff37d8d2cb [chore] prettier style check and fix (#226) 2 mesi fa
tsconfig.json f573d4edd0 fix: changeset (#216) 2 mesi fa

README.md

gill examples - tokens

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.

Tech stack used

  • TypeScript and NodeJS
  • Package manger: pnpm
  • Running the scripts: esrun

Setup locally

  1. Clone this repo to your local system
  2. Install the packages via pnpm install
  3. Change into this directory: cd examples/tokens

Running the included scripts with esrun

Once 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.

Recommended flow to explore this repo

After getting setup locally, we recommend exploring the code of the following files (in order):