@ -29,7 +29,7 @@ Build yourself a [@boardname@ wallet](/projects/wallet) to hold your coins!
|
|||||||
|
|
||||||
## Code
|
## Code
|
||||||
|
|
||||||
The code uses blocks from [radio-blockchain](https://makecode.microbit.org/pkg/microsoft/pxt-radio-blockchain) package.
|
The code uses blocks from the [radio-blockchain](https://makecode.microbit.org/pkg/microsoft/pxt-radio-blockchain) package.
|
||||||
|
|
||||||
* Click on **Advanced**, then **Extensions**
|
* Click on **Advanced**, then **Extensions**
|
||||||
* search for **blockchain** and add **radio-blockchain**
|
* search for **blockchain** and add **radio-blockchain**
|
||||||
@ -73,7 +73,7 @@ basic.showString("A=COINS B=CHAIN SHAKE=MINE")
|
|||||||
|
|
||||||
The [radio-blockchain](https://makecode.microbit.org/pkg/microsoft/pxt-radio-blockchain) package uses radio to transmit blocks between @boardname@s. You can see how this package works by reading the JavaScript sources at https://github.com/microsoft/pxt-radio-blockchain. To go right to the blockchain code, see this file:
|
The [radio-blockchain](https://makecode.microbit.org/pkg/microsoft/pxt-radio-blockchain) package uses radio to transmit blocks between @boardname@s. You can see how this package works by reading the JavaScript sources at https://github.com/microsoft/pxt-radio-blockchain. To go right to the blockchain code, see this file:
|
||||||
|
|
||||||
[main.ts](https://github.com/Microsoft/pxt-radio-blockchain/blob/master/main.ts) - contains the complete JavaScript source for the blockhain. Have a good read!
|
[main.ts](https://github.com/Microsoft/pxt-radio-blockchain/blob/master/main.ts) - contains the complete JavaScript source for the blockchain. Have a good read!
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user