*NOTE: source docs are here: http://truffleframework.com/docs/getting_started/project
npm install -g truffle
You can always verify installed truffle version by
truffle version
(module | |
(import "seal0" "seal_balance" (func $seal_balance (param i32 i32))) | |
(import "env" "memory" (memory 1 1)) | |
;; [0, 8) reserved for $seal_balance output | |
;; [8, 16) length of the buffer for $seal_balance | |
;; [16, inf) zero initialized | |
(data (i32.const 8) "\08") | |
;; Utility function for making assertions. | |
(func $assert (param i32) | |
(block $ok |
openapi: 3.0.0 | |
info: | |
title: Interview Task API | |
description: This is an API to submit inteview task solution | |
contact: | |
email: you@your-company.com | |
license: | |
name: Apache 2.0 | |
url: http://www.apache.org/licenses/LICENSE-2.0.html | |
version: 1.0.0 |
{ | |
"name": "Robonomics", | |
"id": "robonomics_testnet", | |
"bootNodes": [ | |
"/ip4/92.216.202.55/tcp/30333/p2p/QmbPgV4iTsWHhrZDTPU5g1YtxJ11PcGC3f9oMTaNLUvJ6m", | |
"/ip4/54.38.53.77/tcp/30333/p2p/QmPVJKr8TkLkDF98BYyySxe2bVJ2BY9epXvmdCkExwtp2Q", | |
"/ip4/139.162.132.141/tcp/30333/p2p/QmUQhKfBKfb5jMstpQ5kUER5HzVsLLJysyewnFDHEveHkh", | |
"/ip6/2001:41d0:401:3100::34e6/tcp/30333/p2p/QmbPgV4iTsWHhrZDTPU5g1YtxJ11PcGC3f9oMTaNLUvJ6m", | |
"/ip6/fc6c:99a2:171a:f36a:8cd0:cc6b:efb7:8bb4/tcp/30333/p2p/QmbPgV4iTsWHhrZDTPU5g1YtxJ11PcGC3f9oMTaNLUvJ6m", | |
"/ip6/fcaa:9c13:6ea4:4b92:8b9b:9:2390:52c1/tcp/30333/p2p/QmduvgCG1Tfj2P1oLRDjGzrhto4PKmSUtCGCNKoKEvNHxL", |
$ ./target/release/robonomics | |
2019-05-29 01:14:55 Robonomics Node | |
2019-05-29 01:14:55 version 0.10.2-9870c2a-x86_64-linux-gnu | |
2019-05-29 01:14:55 by Airalab <research@aira.life>, 2018, 2019 | |
2019-05-29 01:14:55 Chain specification: Robonomics | |
2019-05-29 01:14:55 Node name: aloof-boats-2960 | |
2019-05-29 01:14:55 Roles: FULL | |
2019-05-29 01:14:55 Best block: #0 | |
2019-05-29 01:14:55 Using default protocol ID "sup" because none is configured in the chain specs | |
2019-05-29 01:14:55 Local node address is: /ip4/0.0.0.0/tcp/30333/p2p/QmQQuYX6iTdenAtCC3iREtXjUpre1zc3j1S6FNZEiJj7Tx |
$ ./target/release/robonomics | |
2019-05-29 00:49:54 Robonomics Node | |
2019-05-29 00:49:54 version 0.10.2-7d90f8a-x86_64-linux-gnu | |
2019-05-29 00:49:54 by Airalab <research@aira.life>, 2018, 2019 | |
2019-05-29 00:49:54 Chain specification: Robonomics | |
2019-05-29 00:49:54 Node name: yummy-cow-2141 | |
2019-05-29 00:49:54 Roles: FULL | |
2019-05-29 00:49:54 Best block: #0 | |
2019-05-29 00:49:54 Using default protocol ID "sup" because none is configured in the chain specs | |
2019-05-29 00:49:54 Local node address is: /ip4/0.0.0.0/tcp/30333/p2p/QmQQuYX6iTdenAtCC3iREtXjUpre1zc3j1S6FNZEiJj7Tx |
[ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "hashes", | |
"type": "bytes32[]" | |
}, | |
{ | |
"name": "amounts", |
[ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "hashCode", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "amount", |
[{"constant":false,"inputs":[{"name":"newcodes","type":"uint256[25]"}],"name":"addCodes","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"state","type":"bool"}],"name":"setState","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"balance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"setTokenContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"code","type":"uint256"}],"name":"submit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"class_on","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"cons |
*NOTE: source docs are here: http://truffleframework.com/docs/getting_started/project
npm install -g truffle
You can always verify installed truffle version by
truffle version