In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "what are the Truffle commands". In the daily operation, I believe many people have doubts about the Truffle commands. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "what are the Truffle commands?" Next, please follow the editor to study!
The main features of Truffle include:
Built-in intelligent contract compilation, linking, deployment and binary file management
Automated contract testing that supports rapid development
An extensible deployment and migration framework that supports scripts
Built-in network management capabilities to support deployment to any number of public and private chains
Support EthPM & NPM package management, follow ERC190 standard
The interactive console can communicate directly with the contract
Configurable build pipeline supports tight integration
Support for running external JavaScript scripts in a Traffule environment.
If you want to quickly grasp the development of blockchain applications, we recommend Huizhi's series of blockchain application development tutorials, which cover Bitcoin, Ethernet Square, eos, fabric, tendermint and other blockchain, and support java, go, c #, nodejs, python, php, dart and other development languages.
Truffle command
Truffle Command Line Overview
Truffle build-build Project
Truffle compile-compilation contract
Truffle config-Analysis function switch
Truffle console-start the console
Truffle create-create a new component
Truffle debug-debug chain transactions
Truffle deploy-deployment contract
Truffle develop-launch the development console
Truffle exec-execute the JS script
Truffle help-help information
Truffle init-initialize the project
Truffle install-install ethernet square package
Truffle migrate-deployment contract
Truffle networks-check the network component
Truffle opcode-displays the contract opcode
Truffle publish-release ethernet square package
Truffle run-run the plug-in command
Truffle test-execute the test
Truffle unbox-download the project template
Truffle version-displays I version information
Truffle watch-automatic rebuild
Truffle profile
Overview of truffle profile
Networks-Network configuration
Contracts_directory-contract directory configuration
Contracts_build_directory-contract build directory configuration
Migrations_directory-Migration script directory configuration
Mocha-Test configuration
Compilers.solc-Solidity compiler configuration
Compilers.external-external compiler configuration
Contract abstraction layer API
Overview of contract Abstract object
MyContract.new-deploy a new contract
MyContract.at-load deployed contracts
MyContract.deployed-load default contract
MyContract.link-Link contract Library
MyContract.networks-get a list of networks
MyContract.setProvider-set up the web3 provider
MyContract.setNetwork-set up the network
MyContract.hasNetwork-detect the specified network
MyContract.defaults-instance default
MyContract.clone-Clone contract abstraction
MyContract.numberFormat-numerical scheme
MyContract.timeout-number of transaction timeout blocks
MyContract.autoGas-whether to automatically estimate gas
MyContract.gasMultiplier-sets the gas estimate multiple
At this point, the study of "what are the Truffle commands" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.