@@ -9,7 +9,7 @@ import { Just } from 'folktale/maybe';
9import { Grid, Button } from 'indigo-react';
9import { Grid, Button } from 'indigo-react';
10import * as azimuth from 'azimuth-js';
10import * as azimuth from 'azimuth-js';
11import { randomHex } from 'web3-utils';
11import { randomHex } from 'web3-utils';
12−import { Box, Checkbox, Icon, Row } from '@tlon/indigo-react';
12+import { Box, Checkbox, Icon, Row, Text } from '@tlon/indigo-react';
14import { usePointCache } from 'store/pointCache';
14import { usePointCache } from 'store/pointCache';
15import { useNetwork } from 'store/network';
15import { useNetwork } from 'store/network';
@@ -280,8 +280,44 @@ export default function UrbitOSNetworkKeys({
280 ? 'Set Network Keys'
280 ? 'Set Network Keys'
281 : 'Initiate Network Keys';
281 : 'Initiate Network Keys';
283− const usageMessage =
283+ const bootMessage = () => (
284+ <Text as="p" textAlign={'center'}>
284− 'With your new network keys, you also have a new keyfile. Download your new keyfile to boot your OS.';
285+ With your new network keys, you also have a new bootkey. Download your new
286+ bootkey to boot your ship. Be sure to delete your old pier before booting
287+ with this new bootkey.
291+ const resetMessage = () => (
293+ <Text as="p" textAlign={'center'}>
294+ With your new network keys, you also have a new bootkey.
296+ Copy the contents of your new bootkey and run
304+ textAlign={'center'}>
305+ |rekey 'bootkey_contents'
307+ <Text as="p" textAlign={'center'}>
308+ using the dojo on your running ship.
313+ const waitMessage = () => (
314+ <Text as="p" textAlign={'center'}>
315+ <strong>Important:</strong> you will need to wait until the next L2 batch
316+ is submitted to the roller to boot your ship. If you do not wait, then you
317+ will run into a key mismatch error and will not be able to communicate
318+ with other ships on the network.
286 const buttonText = `${hasKeys ? 'Reset' : 'Set'} Network Keys`;
322 const buttonText = `${hasKeys ? 'Reset' : 'Set'} Network Keys`;
@@ -295,9 +331,10 @@ export default function UrbitOSNetworkKeys({
295 <BodyPane>
331 <BodyPane>
296 {isComplete && (
332 {isComplete && (
297 <Box className="flex-col col justify-between h-full">
333 <Box className="flex-col col justify-between h-full">
298− <Box className="flex-col download-message">
334+ <Box className="flex-col h-full justify-center">
299 <Icon icon="Download" className="download" />
335 <Icon icon="Download" className="download" />
300− <Box>{usageMessage}</Box>
336+ {breach ? bootMessage() : resetMessage()}
337+ {breach && point.isL2 ? waitMessage() : null}
302 {point.isL2 ? (
339 {point.isL2 ? (
303 <Grid.Item
340 <Grid.Item
@@ -306,7 +343,7 @@ export default function UrbitOSNetworkKeys({
308 onClick={keyfileBind.download}>
345 onClick={keyfileBind.download}>
309− Download Keyfile
346+ Download Bootkey
310 </Grid.Item>
347 </Grid.Item>
312 <Grid.Item
349 <Grid.Item