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

Commit b24bfe7

Browse files
Token: add Rust program id and bump version (#47)
* Token: add Rust program id and bump version * Exclude js from package * C header bump
1 parent 4683535 commit b24bfe7

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

token/Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

token/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33

44
[package]
55
name = "spl-token"
6-
version = "0.1.0"
6+
version = "1.0.0"
77
description = "Solana Program Library Token"
88
authors = ["Solana Maintainers <[email protected]>"]
99
repository = "https://github.com/solana-labs/solana-program-library"
1010
license = "Apache-2.0"
1111
edition = "2018"
12+
exclude = ["js/**"]
1213

1314
[dependencies]
1415
num-derive = "0.2"

token/inc/token.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#include <stdint.h>
88
#include <stdlib.h>
99

10-
#define TOKEN_MAJOR_VERSION 0
11-
#define TOKEN_MINOR_VERSION 1
10+
#define TOKEN_MAJOR_VERSION 1
11+
#define TOKEN_MINOR_VERSION 0
1212
#define TOKEN_PATCH_VERSION 0
1313

1414
/**

token/program-id.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TokenSVp5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o

token/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ pub mod native_mint;
88
pub mod option;
99
pub mod processor;
1010
pub mod state;
11+
12+
solana_sdk::declare_id!("TokenSVp5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o");

0 commit comments

Comments
 (0)