-
Notifications
You must be signed in to change notification settings - Fork 0
/
Minting_notes
56 lines (42 loc) · 2.05 KB
/
Minting_notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
spl-token create-token
//-for NFT
//spl-token create-token --decimals 0
//-create token account
//-mint 1
//-disable future minting
//spl-token authorize <token address> mint --disable
spl-token create-account <token address>
spl-token mint <token address> <# of tokens to mint> <token account>
spl-token accounts //show token accounts
spl-token transfer --fund-recipient --allow-unfunded-recipient <token address> <amount> <SOL wallet address>
!!!everything below this has been deprecated !!!
create repository
upload logo
click download
save the download url either in a text file or leave the tab open //(I left the tab open)
github.com/solana-labs/token-list //you will need a GitHub account
fork the token list //it will appear in your repositories
on my forked repo (from your repositories) press the "." button on the keyboard to open visual studio code in the browser
in the web editor
go to assets //In the left pane of the open window
new folder
paste token address as new name
upload the photo to the folder that was just created //I named it "logo.png"
go to src
tokens //this should be the last thing in the left pane for the moment
in the .json file
copy the required labels and fill in the blanks !!DO NOT MISS ANY BRACKETS/BRACES!! //I recommend copying an existing token that may perform a similar function to your new one
add our coin information
//!!MAKE SURE EVERYTHING IS CORRECT, BECAUSE TRYING TO MODIFY A MERGED PULL REQUEST IS VERY DIFFICULT!!
commit the changes to our repository (add message) //you will need to go the the "commit tab" it is the one with the squiggles, mine is 3 icons down
click the checkmark above the list of files and folders in the left pane
at solana labs github
new pull request
compare across forks //this looks like a link
change the head repository to yours from the dropdown
create pull request
wait... //mine took about an hour
//logo must be less than 200kb
solscan.io <token address>
set it up on an exchange
create a page to purchase/mint tokens