├── .DS_Store ├── Chapter01.md ├── Chapter02.md ├── Chapter03.md ├── Chapter04.md ├── Chapter05.md ├── Chapter06-fig1.png ├── Chapter06.md ├── Chapter07.md ├── Chapter08.md ├── Chapter09.md ├── Chapter10.md ├── Chapter11.md ├── Chapter12.md ├── Chapter13-demo-app ├── .DS_Store ├── .generators ├── .gitignore ├── .rakeTasks ├── .ruby-version ├── Gemfile ├── Gemfile.lock ├── README.md ├── Rakefile ├── app │ ├── README.md │ ├── assets │ │ ├── config │ │ │ └── manifest.js │ │ ├── images │ │ │ └── .keep │ │ ├── javascripts │ │ │ ├── application.js │ │ │ ├── blockchain.coffee │ │ │ ├── cable.js │ │ │ ├── channels │ │ │ │ └── .keep │ │ │ ├── exchanges.coffee │ │ │ ├── finances.coffee │ │ │ ├── keys.coffee │ │ │ ├── users.coffee │ │ │ └── wallets.coffee │ │ └── stylesheets │ │ │ ├── application.sass │ │ │ ├── blockchain.scss │ │ │ ├── exchanges.scss │ │ │ ├── finances.scss │ │ │ ├── keys.scss │ │ │ ├── users.scss │ │ │ └── wallets.scss │ ├── channels │ │ └── application_cable │ │ │ ├── channel.rb │ │ │ └── connection.rb │ ├── controllers │ │ ├── application_controller.rb │ │ ├── blockchain_controller.rb │ │ ├── concerns │ │ │ └── .keep │ │ ├── exchanges_controller.rb │ │ ├── finances_controller.rb │ │ ├── keys_controller.rb │ │ ├── users_controller.rb │ │ └── wallets_controller.rb │ ├── helpers │ │ ├── application_helper.rb │ │ ├── blockchain_helper.rb │ │ ├── exchanges_helper.rb │ │ ├── finances_helper.rb │ │ ├── keys_helper.rb │ │ ├── users_helper.rb │ │ └── wallets_helper.rb │ ├── jobs │ │ └── application_job.rb │ ├── mailers │ │ └── application_mailer.rb │ ├── models │ │ ├── application_record.rb │ │ ├── concerns │ │ │ └── .keep │ │ ├── exchange.rb │ │ ├── finance.rb │ │ ├── key.rb │ │ ├── user.rb │ │ └── wallet.rb │ └── views │ │ ├── blockchain │ │ └── home.html.erb │ │ ├── exchanges │ │ ├── create.html.erb │ │ ├── new_bitcoin_to_jpy.html.erb │ │ └── new_jpy_to_bitcoin.html.erb │ │ ├── finances │ │ ├── create.html.erb │ │ ├── destroy.html.erb │ │ ├── new.html.erb │ │ ├── pre_deposit.html.erb │ │ └── show.html.erb │ │ ├── keys │ │ └── new.html.erb │ │ ├── layouts │ │ ├── application.html.erb │ │ ├── mailer.html.erb │ │ └── mailer.text.erb │ │ ├── users │ │ ├── _sign_up_form.html.erb │ │ ├── home.html.erb │ │ ├── index.html.erb │ │ ├── login_form.html.erb │ │ └── new.html.erb │ │ └── wallets │ │ ├── create.html.erb │ │ ├── new.html.erb │ │ └── show.html.erb ├── bin │ ├── bundle │ ├── rails │ ├── rake │ ├── setup │ ├── spring │ ├── update │ └── yarn ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── cable.yml │ ├── credentials.yml.enc │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── application_controller_renderer.rb │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── content_security_policy.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── puma.rb │ ├── routes.rb │ ├── spring.rb │ └── storage.yml ├── db │ ├── migrate │ │ ├── 20191203013229_create_users.rb │ │ ├── 20191204053729_add_admin_to_users.rb │ │ ├── 20191210003205_create_wallets.rb │ │ ├── 20191210003836_create_keys.rb │ │ ├── 20191210070513_create_finances.rb │ │ ├── 20191211060227_create_exchanges.rb │ │ └── 20191231024148_add_address_to_keys.rb │ ├── schema.rb │ └── seeds.rb ├── lib │ ├── assets │ │ └── .keep │ └── tasks │ │ └── .keep ├── log │ └── .keep ├── package.json ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── apple-touch-icon-precomposed.png │ ├── apple-touch-icon.png │ ├── favicon.ico │ └── robots.txt ├── storage │ └── .keep ├── test │ ├── application_system_test_case.rb │ ├── controllers │ │ ├── .keep │ │ ├── blockchain_controller_test.rb │ │ ├── exchanges_controller_test.rb │ │ ├── finances_controller_test.rb │ │ ├── keys_controller_test.rb │ │ ├── users_controller_test.rb │ │ └── wallets_controller_test.rb │ ├── fixtures │ │ ├── .keep │ │ ├── exchanges.yml │ │ ├── files │ │ │ └── .keep │ │ ├── finances.yml │ │ ├── keys.yml │ │ ├── users.yml │ │ └── wallets.yml │ ├── helpers │ │ └── .keep │ ├── integration │ │ └── .keep │ ├── mailers │ │ └── .keep │ ├── models │ │ ├── .keep │ │ ├── exchange_test.rb │ │ ├── finance_test.rb │ │ ├── key_test.rb │ │ ├── user_test.rb │ │ └── wallet_test.rb │ ├── system │ │ └── .keep │ └── test_helper.rb ├── tmp │ └── .keep └── vendor │ └── .keep ├── Chapter13.md ├── Chapter14.md ├── Chapter15.md ├── README.md ├── appendix.md ├── eratta.pdf └── errata.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/.DS_Store -------------------------------------------------------------------------------- /Chapter01.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter01.md -------------------------------------------------------------------------------- /Chapter02.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter02.md -------------------------------------------------------------------------------- /Chapter03.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter03.md -------------------------------------------------------------------------------- /Chapter04.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter04.md -------------------------------------------------------------------------------- /Chapter05.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter05.md -------------------------------------------------------------------------------- /Chapter06-fig1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter06-fig1.png -------------------------------------------------------------------------------- /Chapter06.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter06.md -------------------------------------------------------------------------------- /Chapter07.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter07.md -------------------------------------------------------------------------------- /Chapter08.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter08.md -------------------------------------------------------------------------------- /Chapter09.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter09.md -------------------------------------------------------------------------------- /Chapter10.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter10.md -------------------------------------------------------------------------------- /Chapter11.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter11.md -------------------------------------------------------------------------------- /Chapter12.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter12.md -------------------------------------------------------------------------------- /Chapter13-demo-app/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/.DS_Store -------------------------------------------------------------------------------- /Chapter13-demo-app/.generators: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/.generators -------------------------------------------------------------------------------- /Chapter13-demo-app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/.gitignore -------------------------------------------------------------------------------- /Chapter13-demo-app/.rakeTasks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/.rakeTasks -------------------------------------------------------------------------------- /Chapter13-demo-app/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.6.3 -------------------------------------------------------------------------------- /Chapter13-demo-app/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/Gemfile -------------------------------------------------------------------------------- /Chapter13-demo-app/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/Gemfile.lock -------------------------------------------------------------------------------- /Chapter13-demo-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/README.md -------------------------------------------------------------------------------- /Chapter13-demo-app/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/Rakefile -------------------------------------------------------------------------------- /Chapter13-demo-app/app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/README.md -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/config/manifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/config/manifest.js -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/blockchain.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/blockchain.coffee -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/cable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/cable.js -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/channels/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/exchanges.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/exchanges.coffee -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/finances.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/finances.coffee -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/keys.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/keys.coffee -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/users.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/users.coffee -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/javascripts/wallets.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/javascripts/wallets.coffee -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/stylesheets/application.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/stylesheets/application.sass -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/stylesheets/blockchain.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/stylesheets/blockchain.scss -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/stylesheets/exchanges.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/stylesheets/exchanges.scss -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/stylesheets/finances.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/stylesheets/finances.scss -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/stylesheets/keys.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/stylesheets/keys.scss -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/stylesheets/users.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/stylesheets/users.scss -------------------------------------------------------------------------------- /Chapter13-demo-app/app/assets/stylesheets/wallets.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/assets/stylesheets/wallets.scss -------------------------------------------------------------------------------- /Chapter13-demo-app/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/channels/application_cable/channel.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/channels/application_cable/connection.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/blockchain_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/controllers/blockchain_controller.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/exchanges_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/controllers/exchanges_controller.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/finances_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/controllers/finances_controller.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/keys_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/controllers/keys_controller.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/controllers/wallets_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/controllers/wallets_controller.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/helpers/blockchain_helper.rb: -------------------------------------------------------------------------------- 1 | module BlockchainHelper 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/helpers/exchanges_helper.rb: -------------------------------------------------------------------------------- 1 | module ExchangesHelper 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/helpers/finances_helper.rb: -------------------------------------------------------------------------------- 1 | module FinancesHelper 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/helpers/keys_helper.rb: -------------------------------------------------------------------------------- 1 | module KeysHelper 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/helpers/users_helper.rb: -------------------------------------------------------------------------------- 1 | module UsersHelper 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/helpers/wallets_helper.rb: -------------------------------------------------------------------------------- 1 | module WalletsHelper 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/jobs/application_job.rb: -------------------------------------------------------------------------------- 1 | class ApplicationJob < ActiveJob::Base 2 | end 3 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/models/application_record.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/models/exchange.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/models/exchange.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/models/finance.rb: -------------------------------------------------------------------------------- 1 | class Finance < ApplicationRecord 2 | belongs_to :user 3 | end 4 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/models/key.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/models/key.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/models/user.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/models/wallet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/models/wallet.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/blockchain/home.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/blockchain/home.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/exchanges/create.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/exchanges/create.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/exchanges/new_bitcoin_to_jpy.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/exchanges/new_bitcoin_to_jpy.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/exchanges/new_jpy_to_bitcoin.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/exchanges/new_jpy_to_bitcoin.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/finances/create.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/finances/create.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/finances/destroy.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/finances/destroy.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/finances/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/finances/new.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/finances/pre_deposit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/finances/pre_deposit.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/finances/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/finances/show.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/keys/new.html.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/users/_sign_up_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/users/_sign_up_form.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/users/home.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/users/home.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/users/index.html.erb: -------------------------------------------------------------------------------- 1 | index -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/users/login_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/users/login_form.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/users/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/users/new.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/wallets/create.html.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/wallets/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/wallets/new.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/app/views/wallets/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/app/views/wallets/show.html.erb -------------------------------------------------------------------------------- /Chapter13-demo-app/bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/bin/bundle -------------------------------------------------------------------------------- /Chapter13-demo-app/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/bin/rails -------------------------------------------------------------------------------- /Chapter13-demo-app/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/bin/rake -------------------------------------------------------------------------------- /Chapter13-demo-app/bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/bin/setup -------------------------------------------------------------------------------- /Chapter13-demo-app/bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/bin/spring -------------------------------------------------------------------------------- /Chapter13-demo-app/bin/update: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/bin/update -------------------------------------------------------------------------------- /Chapter13-demo-app/bin/yarn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/bin/yarn -------------------------------------------------------------------------------- /Chapter13-demo-app/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config.ru -------------------------------------------------------------------------------- /Chapter13-demo-app/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/application.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/boot.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/cable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/cable.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/config/credentials.yml.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/credentials.yml.enc -------------------------------------------------------------------------------- /Chapter13-demo-app/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/database.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/environment.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/environments/development.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/environments/production.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/environments/test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/application_controller_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/application_controller_renderer.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/assets.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/inflections.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/locales/en.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/puma.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/routes.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/spring.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/spring.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/config/storage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/config/storage.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/db/migrate/20191203013229_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/migrate/20191203013229_create_users.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/migrate/20191204053729_add_admin_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/migrate/20191204053729_add_admin_to_users.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/migrate/20191210003205_create_wallets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/migrate/20191210003205_create_wallets.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/migrate/20191210003836_create_keys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/migrate/20191210003836_create_keys.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/migrate/20191210070513_create_finances.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/migrate/20191210070513_create_finances.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/migrate/20191211060227_create_exchanges.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/migrate/20191211060227_create_exchanges.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/migrate/20191231024148_add_address_to_keys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/migrate/20191231024148_add_address_to_keys.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/schema.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/db/seeds.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/package.json -------------------------------------------------------------------------------- /Chapter13-demo-app/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/public/404.html -------------------------------------------------------------------------------- /Chapter13-demo-app/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/public/422.html -------------------------------------------------------------------------------- /Chapter13-demo-app/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/public/500.html -------------------------------------------------------------------------------- /Chapter13-demo-app/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/public/robots.txt -------------------------------------------------------------------------------- /Chapter13-demo-app/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/application_system_test_case.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/application_system_test_case.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/controllers/blockchain_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/controllers/blockchain_controller_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/controllers/exchanges_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/controllers/exchanges_controller_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/controllers/finances_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/controllers/finances_controller_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/controllers/keys_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/controllers/keys_controller_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/controllers/users_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/controllers/users_controller_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/controllers/wallets_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/controllers/wallets_controller_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/fixtures/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/fixtures/exchanges.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/fixtures/exchanges.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/fixtures/finances.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/fixtures/finances.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/test/fixtures/keys.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/fixtures/keys.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/test/fixtures/users.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/fixtures/users.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/test/fixtures/wallets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/fixtures/wallets.yml -------------------------------------------------------------------------------- /Chapter13-demo-app/test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/models/exchange_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/models/exchange_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/models/finance_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/models/finance_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/models/key_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/models/key_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/models/user_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/models/user_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/models/wallet_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/models/wallet_test.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13-demo-app/test/test_helper.rb -------------------------------------------------------------------------------- /Chapter13-demo-app/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13-demo-app/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter13.md -------------------------------------------------------------------------------- /Chapter14.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter14.md -------------------------------------------------------------------------------- /Chapter15.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/Chapter15.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/README.md -------------------------------------------------------------------------------- /appendix.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/appendix.md -------------------------------------------------------------------------------- /eratta.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/eratta.pdf -------------------------------------------------------------------------------- /errata.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blockchain-programming/book2021/HEAD/errata.md --------------------------------------------------------------------------------