Jim

@ironaddicteddog

Joined on Nov 9, 2020

  • This document is not maintained anymore. Please visit our new book for the latest update. *You can find the full code base here What is Anchor? There is a comprehensive explanation on the official website. Let me just quote relative paragraphs here: Anchor is a framework for Solana's Sealevel runtime providing several convenient developer tools. If you're familiar with developing in Ethereum's Solidity, Truffle, web3.js, then the experience will be familiar. Although the DSL syntax and semantics are targeted at Solana, the high level flow of writing RPC request handlers, emitting an IDL, and generating clients from IDL is the same.
     Like 22 Bookmark
  • How to get onboard to Solana develepement quickly? This document is not maintained anymore. Please visit our new book for the latest update. TL; DR What makes Solana so fast and efficient? What should I learn at minimum to understand how Solana program works? How can I setup my the environment quickly? What is the best practice to develop Solana programs?
     Like 33 Bookmark
  • Notice: This document is deprecated. Please refer to the latest version of doc here or check the latest code base here Overview Since this program is extended from the original Escrow Program, I assumed you have gone through the original blog post at least once. However, there is one major difference between this exmaple and the original Escrow program: Instead of letting initializer create a token account to be reset to a PDA authority, we create a token account Vault that has both a PDA key and a PDA authority. Initialize Initializer can send a transaction to the escrow program to initialize the Vault. In this transaction, two new accounts: Vault and EscrowAccount, will be created and tokens (Token A) to be exchanged will be transfered from Initializer to Vault.
     Like 10 Bookmark