Docs Category: 2.develop

integration-tests

To Share and +4 nLEARNs NEAR Wallet Integration Tests Note: Simulation tests are no longer actively supported. NEAR Simulator was meant to be an in-place replacement of a blockchain environment for the purpose of testing NEAR contracts. However, simulating NEAR ledger turned out to be a much more complex endeavor than was anticipated. Eventually, the …

integration-tests Read More »

unit-tests

To Share and +4 nLEARNs NEAR Wallet Unit Tests Testing contract functionality can be done through the cargo test framework. These tests will run with a mocked blockchain and will allow testing function calls directly without having to set up/deploy to a network and sign serialized transactions on this network. A common framework for tests, …

unit-tests Read More »

Upgrading and Locking

To Share and +4 nLEARNs NEAR Wallet After deploying your contract you might realize that you need to maintain it, either to fix a bug or add new functionality. Let us here guide you on how to deploy, update and finally lock your smart contract, so its code cannot change anymore. Upgrading a Contract If …

Upgrading and Locking Read More »

via-dao-vote

To Share and +4 nLEARNs NEAR Wallet DAO-Governed Updates When you first deploy a contract to mainnet, you will likely keep control of a Full Access key for the contract. This puts the contract in "trusted" mode, in which you and other maintainers can change it at-will (which means your users need to trust you …

via-dao-vote Read More »

Scroll to Top
🕺New partnerships = cool giveaways! 5 lucky winners will get (L)Earners NFTs!🏆
This is default text for notification bar