Rust 🦀 + Blockchain ⛓️ + Me 👨‍💻
Hello, World!
Welcome to my blog, where I will write about Rust, Blockchain development, probably some other nerdy stuff, and just things that spark my interest. I am Till, and I recently made a career out of my long-held programming hobby. Since I find blockchains and everything Web3 to be fascinating technology that aligns a lot with how I feel things should be designed (decentralization, Peer-to-peer), I decided to make my entry just there and also to start blogging about what I learn....
Build on NEAR: Our first smart contract (part 1.2)
In the the last part, we explored Wasm compilation, smart contracts in general, and testing on NEAR. We’ve already written tests for our toy example of a blockchained “Buy Me A Coffee”, which is where we pick up this post. The methods Let us start the development with the impl block, as our testing already tells us which methods are needed: // We require `env` to interact with the rest of the NEAR world, and of course // the types as a "language" for these interactions....
Build on NEAR: Our first smart contract (part 1.1)
In the kick-off post, we explored NEAR accounts and the CLI as prerequisites for deploying smart contracts on top of the NEAR protocol. This posts goes over the facets of writing smart contracts in general and conclude with the foundations for the remainder of the series. The actual contract will be a simple “Buy me a coffee” contract, so basically a donation of NEAR to an account that the contract has been deployed with....
Build on NEAR: Getting started (part 0)
So you know how to build with Rust, or have experience with smart contracts, now you want to build on NEAR? This series is for you. I will do my best to explain blockchain concepts and advanced Rust whenever I can, and whenever I feel that it’s necessary. Following topics will be covered: Interacting with the NEAR network, for which you will need an account and should have a look at the NEAR CLI tool (this post) Building smart contracts, testing them, and deploying them to a testing network Basics and testing In-depth and deployment Integration testing, storage migration, redeployments Gas costs and profiling, cross-contract calling, simulation testing, mainnet Indexing, testing the indexer, storage migrations and indexing Let’s kickstart this series by getting you a NEAR account....