ERC20 Token Development on RSK with OpenZeppelin and Web3.py

Reading Time: 8 minutes

In my last article, I’ve shown you how to make a Solidity ERC20 Token for the RSK Mainnet, how to import and use OpenZeppelin libraries and contracts, and how to use Truffle to deploy and interact with our contract.

Although we succeeded in our quest and accomplished our objectives using Truffle, eventually this suite might present failures when you are sending transactions, deploying or managing accounts. In our case, while following the previous article instructions, I’ve had problems managing newly created accounts in Truffle and sending transactions.

ERC20 Token Development on RSK with OpenZeppelin

Reading Time: 9 minutes

In the last article, we have seen how to build an RSK node in our computer, select the proper network for development, configure Truffle to connect and deploy our future contracts, add accounts to our node and obtain funds to use them to pay the gas.

You should have now your node in the selected network fully synced, and at least one account with funds configured in the truffle and RSK node config files for our deployments.

In this article, we’ll be discussing deployment and interaction of Smart-Contracts over the RSK network. Our contract will be an ERC20 Token, based on the OpenZeppelin libraries, and we will deploy it directly into the Mainnet.

smart contracts - solidity and travis logos

Test Solidity Smart Contracts Using Travis CI

Reading Time: 2 minutes

Our smart contract development team is using Travis CI to integrate automated testing into GitHub repositories. This guide for this great tool will not go into detail about Travis CI itself, but rather explain how to automate tests for Solidity smart contracts. We will be using Truffle for running and building tests and Ganache to set up the network since Travis has built-in support for JavaScript and Node.js.

Smart Contract Short Address Attack Mitigation Failure

Reading Time: 3 minutes

Overview Our  smart contract audit team found that Short Address Attack mitigations can cause several problems with smart contracts. A Short Address Attack is when a contract receives less data than it was expecting, and Solidity fills the missing bytes with zeros. The deployed smart contract cannot prevent this and will interpret those extra zeros as […]

Security Auditing: Beware of Duplicated Storage in Solidity Smart Contract Development

Reading Time: 2 minutes

Security Smart Contract Auditing: Beware of Duplicated Storage in Solidity Smart Contract Development Solidity semantics are confusing for smart contract developers with experience in traditional programming languages. This semantics can lead to security issues like the one we found in a recent smart contract security audit we did. The following code caught our attention: In […]

Fast Smart Contracts Execution in an Ethereum Private Blockchain Development Environment

Reading Time: 1

We describe a geth source code change which enables faster block mining. We hope this option will be included in Ethereum command lines. Private Ethereum blockchains may be deployed by private entities to use in production or in the software development process. There are different ways of speeding the development environment. Some developers choose an […]