You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using `cast` (Foundry) as a Hot Wallet — ETH, USDT-ERC20, USDT-BEP20
Using cast (Foundry) as a Hot Wallet — ETH, USDT-ERC20, USDT-BEP20
cast only works with EVM-compatible chains, which covers Ethereum and BNB Smart Chain (ETH, USDT-ERC20, USDT-BEP20). TRON (USDT-TRC20) is not EVM-compatible and cannot be used with cast.
Security note: A keystore/hot wallet on a general-purpose machine is meaningfully riskier than hardware signing. For anything beyond small, disposable amounts, pair cast with a hardware wallet instead of a raw private key — most cast wallet commands (send, wallet address, wallet list, etc.) support -l/--ledger and -t/--trezor flags. Always verify RPC endpoints and token contract addresses before broadcasting, and test with tiny amounts first.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The goal of software architecture is to minimize the human resources required to build and maintain the required system.
The only way to go fast, is to go well.
Any organization that designs a system will produce a design whose structure is a copy of the organization's communication structure. (Conway's law)
SOLID
SRP: Each software module has one, and only one, reason to change. (This is NOT "A function should do one, and only one, thing, and do it well.") A module should be responsible to one, and only one, actor. (actor == user or stakeholder)
OCP: For software systems to be easy to change, they must be designed to allow the behavior of those systems to be changed by adding new code, rather than changing existing code. A software artifact should be open for extension but closed for modification.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In Go, the select statement is used to handle multiple channel operations and simplify concurrent communication and synchronization problems. The select statement is similar to the switch statement, but each case must be a channel operation.
Basic syntax of the select statement:
select {
case<-chan1:
// Executed when chan1 has data to receivecasechan2<-value:
// Executed when data can be sent to chan2
Generate a self-signed certificate and sign your windows binaries with it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters