-
- 450m series D at 7B valuation for consensys.
- Aptos 200m led by a16z.
- Goki allows you to send transactions by holding an NFT (or other fungible tokens): https://github.com/GokiProtocol/goki. So you can essentially transfer ownership in your multisig cleanly, or many other use cases. Has a rust and js sdk.
- Full day hacker house again. Worked, saw Jordan (!), networked, couple talks/panels.
- Kyomi demo. AR with NFTs.
- Web3auth.
- IDL = interface description language.
- Added rust vscode extension.
- Wrote another full solana dapp.
- Solana (1.8.17) / anchor (0.22.1) / rust (1.59.0) / react (17.0.2) / phantom.
- Spun up a local node (solana-test-validator), deployed the program to it, then locally hosted cra to interact.
- First counter, then storing messages onchain.
- Remember “anchor test” spins up its own solana node, so if you already have one running on localhost (for other purposes, including testing), just reuse it to avoid conflict “anchor test –skip-local-validator”.
- Beanstalk, CREDIT-based stablecoin.
- https://beanmerchant.substack.com/p/updated-beanstalk-faq-?s=r.
- https://twitter.com/bean_merchant
- $BEAN
- Good legal overview for founders: https://handbook.clerky.com/.
- Again, create-react-app updated to webpack 5, which doesn’t polyfill a lot of stuff (including web3). Downgrade react-scripts to 4.0.3 to avoid them. Here is a good set of dep versions that are compatible:
- “@solana/wallet-adapter-base”: “^0.7.1”,
- “@solana/wallet-adapter-react”: “^0.13.1”,
- “@solana/wallet-adapter-react-ui”: “^0.6.1”,
- “@solana/wallet-adapter-wallets”: “^0.11.3”,
- “@solana/web3.js”: “^1.31.0”,
- “react-scripts”: “4.0.3”,
- Moralis appears to be an aggregate dev framework: https://admin.moralis.io/servers.
- Created an account to play with it.
- Frameworks for creating dapps, both frontends and backends. Supports eth, polygon, sol, bsc. So all dapps are compatible (automatically) across those chains.
- Basically create a server (on whatever network you want), get the ID of that server, and then add like 2 lines pointed at it in your app’s js. Then you have the Moralis object (like the ethers object, or the solana provider object). And then you can connect to the user’s metamask, query their transaction history, subscribe to new transactions on this account, etc.
- You can also define cloud functions, stored on moralis servers, that you can then call from your dapps.
- Example: https://bmahlstedt.gitlab.io/moralis-demo/
- Tokemak cycle rollover, 203 -> 204.
- Remember that if you deposit an asset into a pool, it becomes “earned” at the start of the next cycle, and then becomes “available” (to vote) at the start of the NEXT cycle.
- Cycle rollover occurs on wednesdays at noon ET (1pm during DST). So if you deposit an asset into a pool on a thursday, it’s nearly 2 weeks before you get the TOKE return.
- And yes, you can’t just stake TOKE; you have to vote.
- Figment tutorials: https://github.com/figment-networks/learn-web3-dapp. Did the solana one, but they offer a ton more chains.
- Created an account for datahub: https://datahub.figment.io/apps.
- Pretty cool tutorials. Fairly short. They’re open ended; asking you a task and linking to docs for you to create code yourself, rather than direct copy-paste.
- instructions = SystemProgram.transfer()
- signers array, each just an object of pubKey and secretKey.
- Then sendAndConfirmTransaction(connection, transaction, signers).
- “commitment” is what state fidelity you want when querying, eg processed or confirmed or finalized.
- Pyth has clients for rust, js, python, and go: https://docs.pyth.network/consumers/client-libraries.