Content pfp
Content
@
https://warpcast.com/~/channel/onchainart
0 reply
0 recast
0 reaction

tokenfox pfp
tokenfox
@tokenfox.eth
Today's http://onchainchecker.xyz listing is a special one in many ways: PETARP by the late @nopsta PETARP is the precessor of much more popular collection ORAAND. Although not fully on-chain like ORAAND, PETARP stores the executable Commodore 64 programs on-chain
3 replies
2 recasts
5 reactions

tokenfox pfp
tokenfox
@tokenfox.eth
1/ In PETARP, the artwork is accessible from the chain through getTokenPRG calls. With parameter unmodified=false, the returned binary corresponds to art as seen on marketplaces
1 reply
0 recast
0 reaction

tokenfox pfp
tokenfox
@tokenfox.eth
2/ The binary is composed from 3 layers The base layer of the binary is basePRGData that contains the template of the PETARP Commodore 64 program
1 reply
0 recast
0 reaction

tokenfox pfp
tokenfox
@tokenfox.eth
3/ On top of that, each token has a set of token-specific parameters that are retrieved through getTokenParams call. These parameters are applied on top of base PRG file to alter the program to be unique for that particular token
1 reply
0 recast
0 reaction

tokenfox pfp
tokenfox
@tokenfox.eth
5/ The binary data returned from getTokenPRG can be converted easily into a binary program for instance with a simple bash command combo: echo "0x01080b...00" | xxd -r -p > petarp.prg This file can then be executed in any C64 emulator or even real hardware!
1 reply
0 recast
0 reaction

tokenfox pfp
tokenfox
@tokenfox.eth
6/ Although PETARP utilizes off-chain emulator, nopsta also managed to deploy on-chain version of his emulator to Ethereum as part of ORAAND. Demonstrating it would be possible to write a wrapper that makes also PETARP tokens fully on-chain! https://etherscan.io/address/0x40307D57da1BEdF31967dC9fa186c1026b496AB2#code
1 reply
0 recast
0 reaction

tokenfox pfp
tokenfox
@tokenfox.eth
7/ Given that PETARP tokens depends on centralized server (http://nopsta.com), the tokens are rated as 3/5 by On-Chain Checker. Although the core program is fully on-chain, marketplaces and dapps depend on http://nopsta.com being online if no wrapper is created
1 reply
0 recast
0 reaction

tokenfox pfp
tokenfox
@tokenfox.eth
8/ In short term, the best that could be done was to launch a preservation effort. For the eventual case of nopsta.com going offline, @0xfff started an archival project I also contributed to, available at: https://github.com/0xfffxfff/nopsta
1 reply
0 recast
1 reaction