Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 094040e

Browse files
authored
Update README.md
1 parent 4827039 commit 094040e

File tree

1 file changed

+30
-26
lines changed

1 file changed

+30
-26
lines changed

README.md

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,42 @@
1-
# tokenocchio
1+
# <img height="70" alt="tokenocchio" src="https://github.com/user-attachments/assets/322746be-4225-40b8-b60d-6418a29a6531"/>
22

33
A `pinocchio`-based Token program.
44

5+
## Overview
6+
57
This repository contains a proof-of-concept of a reimplementation of the SPL Token program, one of the most used programs on Solana, using `pinocchio`. The purpose is to have an implementation that optimizes the compute units, while being fully compatible with the original implementation &mdash; i.e., support the exact same instruction and account layouts as SPL Token, byte for byte.
68

79
## Status
810

911
| Instruction | Completed | CU | CU (SPL Token) |
1012
|----------------------------|-----------|-----|----------------|
11-
| `InitializeMint` | [ x ] | 396 | 2967 |
12-
| `InitializeAccount` | [ x ] | 444 | 4527 |
13-
| `InitializeMultisig` | [ ] | | |
14-
| `Transfer` | [ x ] | 161 | 4645 |
15-
| `Approve` | [ ] | | |
16-
| `Revoke` | [ ] | | |
17-
| `SetAuthority` | [ ] | | |
18-
| `MintTo` | [ x ] | 160 | 4538 |
19-
| `Burn` | [ ] | | |
20-
| `CloseAccount` | [ ] | | |
21-
| `FreezeAccount` | [ ] | | |
22-
| `ThawAccount` | [ ] | | |
23-
| `TransferChecked` | [ ] | | |
24-
| `ApproveChecked` | [ ] | | |
25-
| `MintToChecked` | [ ] | | |
26-
| `BurnChecked` | [ ] | | |
27-
| `InitializeAccount2` | [ ] | | |
28-
| `SyncNative` | [ ] | | |
29-
| `InitializeAccount3` | [ ] | | |
30-
| `InitializeMultisig2` | [ ] | | |
31-
| `InitializeMint2` | [ ] | | |
32-
| `GetAccountDataSize` | [ ] | | |
33-
| `InitializeImmutableOwner` | [ ] | | |
34-
| `AmountToUiAmount` | [ ] | | |
35-
| `UiAmountToAmount` | [ ] | | |
13+
| `InitializeMint` || 396 | 2967 |
14+
| `InitializeAccount` || 444 | 4527 |
15+
| `InitializeMultisig` | | | |
16+
| `Transfer` || 161 | 4645 |
17+
| `Approve` | | | |
18+
| `Revoke` | | | |
19+
| `SetAuthority` | | | |
20+
| `MintTo` || 160 | 4538 |
21+
| `Burn` | | | |
22+
| `CloseAccount` | | | |
23+
| `FreezeAccount` | | | |
24+
| `ThawAccount` | | | |
25+
| `TransferChecked` | | | |
26+
| `ApproveChecked` | | | |
27+
| `MintToChecked` | | | |
28+
| `BurnChecked` | | | |
29+
| `InitializeAccount2` | | | |
30+
| `SyncNative` | | | |
31+
| `InitializeAccount3` | | | |
32+
| `InitializeMultisig2` | | | |
33+
| `InitializeMint2` | | | |
34+
| `GetAccountDataSize` | | | |
35+
| `InitializeImmutableOwner` | | | |
36+
| `AmountToUiAmount` | | | |
37+
| `UiAmountToAmount` | | | |
38+
39+
> Test were run using Solana `v2.1.0`.
3640
3741
## Building
3842

0 commit comments

Comments
 (0)