Waffle——编写和测试(以太坊上)智能合约的库(使用初体验)

 

 

一、什么是Waffle
Waffle是什么呢?我们直接看其文档上的介绍:

Waffle is a library for writing and testing smart contracts. Sweeter, simpler and faster than Truffle. Works with ethers-js.

大致意思为,它是一个编写和测试(以太坊上)智能合约的库,比Truffle更加好用,简单和快速,它使用了ethers-js。

注:(ethers-js 是一个非常棒的以太坊js框架,个人觉得甚至好于web3.js)。

介绍完之后我们根据其官方文档进行初次使用。

https://blog.csdn.net/weixin_39430411/article/details/109612800?spm=1001.2014.3001.5501

 

posted @ 2021-05-29 22:12  走走停停走走  Views(396)  Comments(0Edit  收藏  举报