brew install truffle
-
Compile Code
truffle compile
-
Start Truffle
truffle develop
-
Migrate Smart Contract
> truffle migrate
-
Access Instance
> let instance = await [NameOfContract].deployed()
-
Run Instance Methods
> instance.[NameOfMethodOnContract]()
0.1.0
- can run truffle framework
- can migrate a smart contract
- can access and run functions on a smart contract