# 使用remix部署合约 **Published by:** [bvicii](https://paragraph.com/@startboy/) **Published on:** 2022-06-15 **URL:** https://paragraph.com/@startboy/remix ## Content 对于熟练的Solidity开发者,可以使用Truffle这个JavaScript工具通过JavaScript脚本全自动部署合约,减少手动操作导致的出错的可能。这里我们不打算详细介绍Truffle的使用,直接使用在线部署remix去完成部署测试 https://remix.ethereum.org/1. 新建合约文件并编写合约代码2.选择编译版本注意编译版本需要和程序要求一致,这里要求是>=0.8.10 & < 0.9.03.部署合约注意第一选项选择Injected Web3, 方便使用小狐狸等扩展钱包链接部署,需要钱包确认等待几十秒(取决于你选择的哪个网络,本次时使用binance smart chain test),其他支持EVM的都一样非常简单是不是,solidity的坑其实是灰常的多,当然是相对其他成熟的计算机语言而言。目前还处于发展早期很多设计可能也不是特别”合理“,但是依然不妨碍我们学习它,因为大家都想做”科学家“。。。。 ## Publication Information - [bvicii](https://paragraph.com/@startboy/): Publication homepage - [All Posts](https://paragraph.com/@startboy/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@startboy): Subscribe to updates