Open in app

Sign In

Write

Sign In

Gustavo (Gus) Guimaraes
Gustavo (Gus) Guimaraes

1.1K Followers

Home

About

Nov 27, 2017

Beautifying Your Smart Contract Tests With JavaScript

Make your tests more readable In my previous blog post I wrote about testing smart contracts with JavaScript. In this one, I would like to show techniques I picked along the way that makes tests more readable and elegant. For this, I am going to use the code created in…

JavaScript

2 min read

Beautifying Your Smart Contract Tests With JavaScript
Beautifying Your Smart Contract Tests With JavaScript
JavaScript

2 min read


Oct 21, 2017

Testing Your Smart Contracts With JavaScript (Including Async/Await Promises)

[ The code for this blog post can be found here: https://github.com/gustavoguimaraes/smart-contract-testing-javascript-example-] Smart contract developers strive to mitigate bugs in their code as they can be literally costly. For this end, one of the techniques we use is to write tests extensively or dare I say obsessively to the codebase. …

JavaScript

5 min read

Testing Your Smart Contracts With JavaScript (Including Async/Await Promises)
Testing Your Smart Contracts With JavaScript (Including Async/Await Promises)
JavaScript

5 min read


Published in Coinmonks

·Aug 22, 2017

Solidity’s ‘using’ keyword

There comes a time when one wonders the meaning behind certain features in the programming language one enjoys coding with. Lukas Cremer, Gerard and I are blockchain developers based in Berlin, Germany, and we challenged ourselves whether we could explain the use of solidity’s using keyword. using is used for…

Ethereum

2 min read

Ethereum

2 min read


Aug 4, 2017

Write Your First Smart Contract

I just returned from the Pillar Unconference in Poprad, Slovakia where I gave two talks on developing smart contracts. The disclaimer here is that Pillar have just had a successful Initial Coin Offering and I helped writing the code for the token and crowd sale smart contract. One of my talks was on creating your first smart contract. Here is the recorded live broadcast of the talk. Unfortunately, it was difficult for web viewers to see the code of this presentation. For this, I am going to leave the code here so you can follow n case you have watched or will watch the video.

Blockchain

1 min read

Blockchain

1 min read


Jul 29, 2017

Public vs External Functions in Solidity

I have been going through functions in smart contracts code I am creating and decided to make it more explicit as per this best practice . I noticed that I hesitated whenever I was about to add either the public or external visibility mark. This came from a place of…

Ethereum

1 min read

Ethereum

1 min read


Published in Zeppelin Blog

·Jul 12, 2017

Setting Up a Bug Bounty Smart Contract with OpenZeppelin

The effect of having a market cap north of $10 Billion USD is that a growing number of blockchain enthusiasts trust putting their Ether only in smart contracts that have been vouched and fine-combed by security professionals. Among the emerging best practices, the most recommended are to write extensive unit…

Ethereum

6 min read

Setting Up a Bug Bounty Smart Contract with OpenZeppelin
Setting Up a Bug Bounty Smart Contract with OpenZeppelin
Ethereum

6 min read


Jul 1, 2017

Developing Smart Contracts

Tools of trade and Guidelines — Blockchain applications may impact the way that individuals and organizations interact. For this to happen, we need way more people developing these applications and for this they need to learn about creating smart contracts which are in a way blockchain powered apps. This blog post is a brief overview of…

Ethereum

3 min read

Developing Smart Contracts
Developing Smart Contracts
Ethereum

3 min read


May 25, 2017

Reentrancy Attack On Smart Contracts: How To Identify The Exploitable And An Example Of An Attack Contract

To code smart contracts is certainly not a free picnic. A bug introduced in the code costs money and most likely not only your money but also other people’s as well. …

Ethereum

4 min read

Ethereum

4 min read


Published in Zeppelin Blog

·May 18, 2017

How To Create Token and Initial Coin Offering Contracts Using Truffle + Zeppelin Solidity

Update: this blog post has been updated for OpenZeppelin Solidity version v2.0 I have tested this blog post with the following dependencies: - node@10.11.0 - truffle@v4.1.14 - ganache-cli@v6.1.8 - zeppelin-solidity@2.0.0 Token contracts are hot. Token crowd sales aka Initial Coin Offers(ICO) are hotter. There have been a lot going in…

Ethereum

5 min read

How To Create Token and Initial Coin Offering Contracts Using Truffle + Zeppelin Solidity
How To Create Token and Initial Coin Offering Contracts Using Truffle + Zeppelin Solidity
Ethereum

5 min read


May 13, 2017

Using Truffle to Create and Deploy Smart Contracts

On my last post I went through the steps to deploy the smart contracts the hard way on one’s own Ethereum private blockchain. This one I am going to show the straightforwardness of doing so with Truffle, the de-facto framework to publish smart contracts on Ethereum. Let’s start by installing…

Ethereum

2 min read

Ethereum

2 min read

Gustavo (Gus) Guimaraes

Gustavo (Gus) Guimaraes

1.1K Followers

A curious mind, joie de vivre practitioner

Following
  • Georgiana Bularca

    Georgiana Bularca

  • Thomas Power

    Thomas Power

  • Saron Yitbarek

    Saron Yitbarek

  • Aidan Feldman

    Aidan Feldman

  • Princess Gaia

    Princess Gaia

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech