Meter Code Examples

Create Account Example

Install

$ npm install

Run

$ node createAccount.js

Source Files

Send Transaction CLI Example

Install

$ npm install

Run

$ node createAccount.js
$ node sendTransaction.js

Source Files

Deploy a Contract Example

Install

$ npm install

Run

$ node createAccount.js
$ node sendTransaction.js
$ node deployContract.js

Source Files

Call a Contract CLI Example

Install

$ npm install

Run

$ node createAccount.js
$ node sendTransaction.js
$ node deployContract.js
$ node callContract.js

Source Files

Meterify + React

Install

$ git clone https://github.com/meterio/hackathon-demo-react.git
$ cd hackathon-demo-react.git
$ npm install

Run

$ npm start