6

Smart Contract Security and Access Controls

It is a very complex, cumbersome, and difficult task to write a perfect smart contract that addresses all the best practices and security considerations to be taken care of. To prevent unauthorized use of smart contract functions, it is necessary to implement secure access controls. Access control mechanisms restrict the ability to use certain functions in a smart contract to approved entities, such as accounts responsible for managing the contract. This chapter will introduce you to the concepts of smart contract security, access controls, security tools, audit functions, and common threats to consider when developing smart contracts.

In this chapter, we’re going to cover the following main topics: ...

Get The Essential Guide to Web3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.