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