Docs Category: Security

Sybil Attacks

To Share and +4 nLEARNs NEAR Wallet While developing your smart contract, keep in mind that an individual can potentially create multiple NEAR accounts. This is especially relevant in ecosystems involving crowd decisions, such as DAOs. Imagine that you open the voting to anyone in the community. If each account can cast a vote, a …

Sybil Attacks Read More »

Million Small Deposits

To Share and +4 nLEARNs NEAR Wallet On NEAR, your contract pays for the storage it uses. This means that the more data you store, the more balance you need to cover for storage. If you don’t handle these costs correctly (e.g. asking the user to cover their storage usage), then a million little deposits …

Million Small Deposits Read More »

Ensure it is the User (1yⓃ)

To Share and +4 nLEARNs NEAR Wallet NEAR uses a system of Access Keys to simplify handling accounts. There are basically two type of keys: Full Access, that have full control over an account (i.e. can perform all actions), and Function Call, that only have permission to call a specified smart contract’s method(s) that do …

Ensure it is the User (1yⓃ) Read More »

Front Running

To Share and +4 nLEARNs NEAR Wallet In the NEAR network, validators have access to the transaction pool, and can therefore see them before they execute. This enables validators to analyze transactions for a potential profit and frontrun them with a transaction of their one. For example, imagine that you make a game where users …

Front Running Read More »

✅ Checklist

To Share and +4 nLEARNs NEAR Wallet Once you finished developing your smart contract please go through the following list in order to ensure everything is safe for the end user. Anatomy There are no private methods marked as public by mistake Environment predecessor and signer are used correctly through the entire contract Storage Each …

✅ Checklist Read More »

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