Skip to content

Example of how to store arbitrary data in the MimbleWimble Coin blockchain.

Notifications You must be signed in to change notification settings

NicolasFlamel1/MimbleWimble-Coin-Arbitrary-Data-Storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Storing the Mimblewimble whitepaper on the MimbleWimble Coin floonet blockchain

Description

Arbitrary data can be stored in a kernel's lock height if the data interpreted as a number is less than or equal to the current block height. By doing this I was able to store the Mimblewimble whitepaper by Tom Elvis Jedusor on the MimbleWimble Coin floonet blockchain within 5183 kernels. At approximately 2.5 bytes of arbitrary data allowed per kernel using this method at current block heights, it isn't efficient nor economical to store arbitrary data in this way.

Running

Run the following command while passing in a node's address as a command line argument to the program to get the Mimblewimble whitepaper from that node. This example uses the node address https://mwc713.floonet.mwc.mw. This program will default to using the node address http://localhost:13413 if no node address is provided. This program can take awhile to finish running when using it with an external node, so it's recommended to run this against a local node.

python3 main.py https://mwc713.floonet.mwc.mw

About

Example of how to store arbitrary data in the MimbleWimble Coin blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages