Skip to content

Instantly share code, notes, and snippets.

View jacobmakarsky's full-sized avatar

Jacob Makarsky jacobmakarsky

View GitHub Profile
jacobmakarsky /
Last active July 8, 2021 18:00 — forked from yash-sharma1/
This Gist is a basic template for those who're interested in writing tutorials for Figment Learn. At the time of filling the form for writing tutorials applicants need to submit a link to their Gist file which contains initial details of the tutorial. On the basis of the details provided in Gist, we'll review the application for tutorial contrib…

How to mint your own fungible token, How to mint your own NFT, How to write and deploy Rust smart contract on Solana

Overview of the Tutorial

  • Why are you writing this tutorial?
    • I'm currently creating an NFT minting service on Solana, so I'm in a great spot to teach how to mint a token and mint an NFT. This also involves writing and deploying Rust smart contracts.
  • What are you going to achieve/build in this tutorial?
    • Will teach how to make a simple SOL token, simple NFT with metadata (probably hosted on IPFS), and a simple Rust smart contract (most likely a charity contract example).
  • What will they learn by doing it? What are the key learnings you want your audience to take away?
    • I want the readers to be comfortable with developing the different kinds of tokens and contracts on Solana. I like to explain things so people can understand them even with no development experience, if possible.
function showTextNode(textNodeIndex) {
const textNode = textNodes.find(textNode => === textNodeIndex)
textElement.innerText = textNode.text
while (optionButtonsElement.firstChild) {
textNode.options.forEach(option => {
if (showOption(option)) {
const button = document.createElement('button')