- Always use the latest version of the Truffle framework. The new Truffle framework has new tools and bug fixes available. Also, for OpenZeppelin, make sure that you check the bug fixes present in the library files. If you are using library files from old versions of OpenZeppelin, make sure that there are no issues found in the library after the version you are using; otherwise, it is recommended that you use the latest version of OpenZeppelin.
- Truffle reads the mnemonics seed phrase from the .secret file when using the HD wallet provider. Ensure that the file is kept on a secure machine and that only authorized people have access to that machine. If the machine is compromised, the .secret file could be leaked to attackers.
- Always perform the tests on a local blockchain environment first, such as Ganache. Then, you can perform the tests on testnets (such as...
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia