Skip to content

Light-Labs/ryder-prototype-firmware-releases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Ryder Prototype Firmware

Ryder Prototype Firmware is the firmware that eventually will run on the Ryder device.

For testing without a device, the Ryder Simulator can be used. It uses the same firmware as the device.

Ryder Simulator

How to use the Firmware with the Ryder Simulator and the Ryder Edition of Hiro Stacks Wallet

  1. Download the latest firmware (it contains the simulator) and launch the simulator from a (Windows: PowerShell) terminal. Note down the serial port.
Linux/Mac
$ ./ryder-sim-v2-linux-x86_64

RyderProto_V2 Simulator starting.
Opened virtual serialport on: /dev/pts/4
idle

The serial port in the example above is /dev/pts/4. It can differ per system.

You should see a window of the simulator.

Windows

For Windows users: use a virtual com driver (e.g. com0com) to create a com-port pair (for example: COM12 <-> COM13) and launch the Ryder Simulator from a PowerShell window:

ryder-sim-v2-windows-x86_64.exe COM12

RyderProto_V2 Simulator starting.
Connected to \\.\COM12
idle

You should see a window of the simulator.

  1. The Ryder Bridge connects the simulator with the Stacks Wallet or other apps. Clone the Ryder Bridge repo in a new (Windows: PowerShell) terminal and use the serial port of the simulator and localhost:8888.
$ cargo run /dev/pts/4 localhost:8888
Listening on: localhost:8888
Ryder port: /dev/pts/4
  1. Launch the Ryder version of Stacks Wallet. Clone the feat/ryder-dev branch of the Stacks wallet repository. In a third (Windows: PowerShell) terminal build the extension.
yarn build
  1. Load the unpacked extension in your Chrome browser from the dist folder.

chrome extension

Using the Ryder Edition of Hiro Stacks Wallet (extension)

First time using the simulator, you need to setup the device with a Secret Key. The simulator is not save, do not use the Secret Key for anything else than testing. Follow the flow on the device after clicking "Setup Ryder device".

Once the simulator is setup, use the "Connect your Ryder" link.

image