├── .gitignore ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── bin └── teth ├── examples ├── .gitignore ├── Gemfile ├── bin │ ├── attach.sh │ ├── build.sh │ ├── import_keys.sh │ ├── init.sh │ ├── migrate.sh │ ├── private_blockchain.sh │ ├── solc_helper.rb │ └── test.sh ├── builds │ └── Token_compiled.js ├── contracts │ ├── Token.sol │ └── math.se ├── genesis.json ├── gtests │ └── Token_test.js ├── private_keys │ ├── 3ae88fe370c39384fc16da2c9e768cf5d2495b48.key │ ├── 81063419f13cab5ac090cd8329d8fff9feead4a0.key │ ├── 9da26fc2e1d6ad9fdd46138906b0104ae68a65d8.key │ └── import.sh ├── rakefile ├── temp │ ├── db │ │ └── Token.json │ └── migrations │ │ └── Token.js └── tests │ ├── math_test.rb │ └── token_test.rb ├── lib └── teth │ ├── configurable.rb │ ├── erbs │ ├── Gemfile │ ├── contract.sol │ ├── contract_test.rb │ └── migration │ ├── minitest.rb │ └── templates │ ├── bin │ ├── attach.sh │ ├── build.sh │ ├── import_keys.sh │ ├── init.sh │ ├── migrate.sh │ ├── private_blockchain.sh │ ├── solc_helper.rb │ └── test.sh │ ├── genesis.json │ ├── gitignore │ ├── private_keys │ └── import.sh │ └── rakefile └── teth.gemspec /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/.gitignore -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | gemspec 2 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/README.md -------------------------------------------------------------------------------- /bin/teth: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/bin/teth -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | data 3 | -------------------------------------------------------------------------------- /examples/Gemfile: -------------------------------------------------------------------------------- 1 | gem 'teth', '>= 0.1.1' 2 | -------------------------------------------------------------------------------- /examples/bin/attach.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/attach.sh -------------------------------------------------------------------------------- /examples/bin/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/build.sh -------------------------------------------------------------------------------- /examples/bin/import_keys.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/import_keys.sh -------------------------------------------------------------------------------- /examples/bin/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/init.sh -------------------------------------------------------------------------------- /examples/bin/migrate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/migrate.sh -------------------------------------------------------------------------------- /examples/bin/private_blockchain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/private_blockchain.sh -------------------------------------------------------------------------------- /examples/bin/solc_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/solc_helper.rb -------------------------------------------------------------------------------- /examples/bin/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/bin/test.sh -------------------------------------------------------------------------------- /examples/builds/Token_compiled.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/builds/Token_compiled.js -------------------------------------------------------------------------------- /examples/contracts/Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/contracts/Token.sol -------------------------------------------------------------------------------- /examples/contracts/math.se: -------------------------------------------------------------------------------- 1 | def add(a, b): 2 | return a+b 3 | -------------------------------------------------------------------------------- /examples/genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/genesis.json -------------------------------------------------------------------------------- /examples/gtests/Token_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/gtests/Token_test.js -------------------------------------------------------------------------------- /examples/private_keys/3ae88fe370c39384fc16da2c9e768cf5d2495b48.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/private_keys/3ae88fe370c39384fc16da2c9e768cf5d2495b48.key -------------------------------------------------------------------------------- /examples/private_keys/81063419f13cab5ac090cd8329d8fff9feead4a0.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/private_keys/81063419f13cab5ac090cd8329d8fff9feead4a0.key -------------------------------------------------------------------------------- /examples/private_keys/9da26fc2e1d6ad9fdd46138906b0104ae68a65d8.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/private_keys/9da26fc2e1d6ad9fdd46138906b0104ae68a65d8.key -------------------------------------------------------------------------------- /examples/private_keys/import.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/private_keys/import.sh -------------------------------------------------------------------------------- /examples/rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/rakefile -------------------------------------------------------------------------------- /examples/temp/db/Token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/temp/db/Token.json -------------------------------------------------------------------------------- /examples/temp/migrations/Token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/temp/migrations/Token.js -------------------------------------------------------------------------------- /examples/tests/math_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/tests/math_test.rb -------------------------------------------------------------------------------- /examples/tests/token_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/examples/tests/token_test.rb -------------------------------------------------------------------------------- /lib/teth/configurable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/configurable.rb -------------------------------------------------------------------------------- /lib/teth/erbs/Gemfile: -------------------------------------------------------------------------------- 1 | gem 'teth', '>= 0.2.0' 2 | -------------------------------------------------------------------------------- /lib/teth/erbs/contract.sol: -------------------------------------------------------------------------------- 1 | contract <%= name.capitalize %> { 2 | } 3 | -------------------------------------------------------------------------------- /lib/teth/erbs/contract_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/erbs/contract_test.rb -------------------------------------------------------------------------------- /lib/teth/erbs/migration: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/erbs/migration -------------------------------------------------------------------------------- /lib/teth/minitest.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/minitest.rb -------------------------------------------------------------------------------- /lib/teth/templates/bin/attach.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/attach.sh -------------------------------------------------------------------------------- /lib/teth/templates/bin/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/build.sh -------------------------------------------------------------------------------- /lib/teth/templates/bin/import_keys.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/import_keys.sh -------------------------------------------------------------------------------- /lib/teth/templates/bin/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/init.sh -------------------------------------------------------------------------------- /lib/teth/templates/bin/migrate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/migrate.sh -------------------------------------------------------------------------------- /lib/teth/templates/bin/private_blockchain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/private_blockchain.sh -------------------------------------------------------------------------------- /lib/teth/templates/bin/solc_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/solc_helper.rb -------------------------------------------------------------------------------- /lib/teth/templates/bin/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/bin/test.sh -------------------------------------------------------------------------------- /lib/teth/templates/genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/genesis.json -------------------------------------------------------------------------------- /lib/teth/templates/gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | data 3 | temp 4 | -------------------------------------------------------------------------------- /lib/teth/templates/private_keys/import.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/private_keys/import.sh -------------------------------------------------------------------------------- /lib/teth/templates/rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/lib/teth/templates/rakefile -------------------------------------------------------------------------------- /teth.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptape/teth/HEAD/teth.gemspec --------------------------------------------------------------------------------