Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert seed phrase into Saganism quote #108

Open
mikedotexe opened this issue Jun 28, 2022 · 0 comments · May be fixed by #109
Open

Insert seed phrase into Saganism quote #108

mikedotexe opened this issue Jun 28, 2022 · 0 comments · May be fixed by #109

Comments

@mikedotexe
Copy link
Collaborator

mikedotexe commented Jun 28, 2022

We have a fun way of signing a message, called a Saganism. It's a bunch of random words from Carl Sagan. You can see that here:
https://github.com/starryzone/starrybot-discord/blob/main/src/logic.js#L31

We haven't had any issues, but we'd like to also add in a normal seed phrase here just to ensure it can never be gamed.

So let's insert a seed phrase using near-seed-phrase (https://www.npmjs.com/package/near-seed-phrase) because it's fast and not a huge priority.

You can see how I used this library in the near-crossword repository.

https://github.com/mikedotexe/near-crossword/blob/e078b5e9027cac59cdcdf5a779ca64c6551c63af/src/index.js#L16

(Note that in the crossword I'm actually using using the GitHub URL for dependency. So if you run into problems you can try that. https://github.com/mikedotexe/near-crossword/blob/e078b5e9027cac59cdcdf5a779ca64c6551c63af/package.json#L13)


So when this is complete you should have something like:

Orion's sword dispassionate extraterrestrial observer tingling of the spine network of wormholes prime number a billion trillion? Hearts of the stars vastness is bearable upset loud source damage mountain galaxy approve second census health evidence segment only through love intelligent beings tendrils of gossamer clouds Sea of Tranquility a mote of dust suspended in a sunbeam and billions upon billions upon billions upon billions upon billions upon billions upon billions.

Note that after the word "bearable" we have a 12-word seed phrase and then continue on with the rest of the Saganism.

@nino1415 nino1415 linked a pull request Jun 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant