Skip to content

Instantly share code, notes, and snippets.

@mozaa-solana
Created February 26, 2018 12:03
Show Gist options
  • Select an option

  • Save mozaa-solana/ebf27f6ecb77c9018bd53ac5847cfc54 to your computer and use it in GitHub Desktop.

Select an option

Save mozaa-solana/ebf27f6ecb77c9018bd53ac5847cfc54 to your computer and use it in GitHub Desktop.
SmartContract 1 - Setup
@mozaa-solana
Copy link
Author

-- Khi cài đặt xong nhớ lấy path

-- Nodejs

$ brew install node

-- Truffle

$ npm install -g truffle

-- TestRpc

$ npm install -g ethereumjs-testrpc

-- Set environment

$ sudo vi ~/.bash_profile

-- Thiết lập biến môi trường

export PATH=/usr/local/Cellar/node/8.6.0/bin/:$PATH
export PATH=/usr/local/Cellar/node/8.6.0/bin/truffle:$PATH

-- Start Ethereum node

testrpc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment