casper api logo

Casper CST Token Sale Security Audit

Reading Time: 3 minutes

Coinfabrik has been hired to audit the contracts for the Casper Token sale. Firstly, we will provide a summary of our discoveries and secondly, we will show the details of our findings. Summary The contracts audited are from the presale repository at https://github.com/Casper-dev/presale. The audit is based on the commit 3c66514423277c39bea26e62a7de47d51d712108 from branch feat/presale. This […]

dreamteam token logo

DreamTeam Token Audit

Reading Time: 4 minutes

CoinFabrik was asked to audit the contract for the DreamTeam token and token sale (previously audited). Firstly, we will provide a summary of our discoveries and secondly, we will show the details of our findings. Summary The contract audited is in the DreamTeam repository at https://github.com/dreamteam-gg/smart-contracts. The audit is based on the commit 616ed2538526001d25b75680e4d3bd8f3c4deac2, and […]

erc20 rsk openzeppelin logos

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 rsk openzeppelin logos

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.

rsk logo

Introduction to Smart Contracts Development in RSK

Reading Time: 9 minutes

These last years there has been growth in Smart Contracts development, predominantly in the Ethereum blockchain. Ethereum, being a different type of blockchain than Bitcoin, can execute concise lines of code inside its chain, a job that Bitcoin (specifically designed to send transactions easily) can’t do. Here is where RSK intervenes building a sidechain tied up to Bitcoin through a 2-Way Peg system, managed by the Federation Partners, that makes code execution possible. Instead of designing a new programming language for developing Smart-Contracts, they used Solidity, the same language that Ethereum uses. This has two benefits: not only programmers won’t have to learn a new skill but also contracts in the Ethereum network could be deployed in RSK without much effort, taking advantage of the vast market capitalization Bitcoin has.

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.