Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riteshpuvvada/personal-token-with-rust-smart-contracts
Create your personal token with rust smart contracts
https://github.com/riteshpuvvada/personal-token-with-rust-smart-contracts
blockchain-technology cryptocurrency decentralized devnet rust-lang solana-program solana-token
Last synced: 27 days ago
JSON representation
Create your personal token with rust smart contracts
- Host: GitHub
- URL: https://github.com/riteshpuvvada/personal-token-with-rust-smart-contracts
- Owner: RiteshPuvvada
- Created: 2022-02-04T12:00:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T23:50:54.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T21:43:55.622Z (over 1 year ago)
- Topics: blockchain-technology, cryptocurrency, decentralized, devnet, rust-lang, solana-program, solana-token
- Language: JavaScript
- Homepage:
- Size: 217 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Solana Rust Token 💰
This application written Rust using [Anchor âš“](https://project-serum.github.io/anchor/getting-started/introduction.html)
## Setting up the Environment:
* Rust Installation
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustup component add rustfmt
```* Solana Installation
```bash
sh -c "$(curl -sSfL https://release.solana.com/v1.8.0/install)"
```
**Please update your `PATH` environment variable to include the solana programs*** Installation of mocha
```bash
npm install -g mocha
```* [Anchor âš“](https://project-serum.github.io/anchor/getting-started/introduction.html) Installation
```bash
npm i -g @project-serum/anchor-cli
```* And we can use Cargo to install CLI
```bash
cargo install --git https://github.com/project-serum/anchor --tag v0.17.0 anchor-cli --locked
```
---## Configurations on Solana CLI
```bash
solana config get
```Configure `RPC URL`
```bash
solana config set --url localhost
```Wallet address and airdrop some **SOL**
```bash
solana address
```* For more comprehensive details of your account
```
solana account
```
---## Getting Started
* Clone this repository
```bash
git clone https://github.com/RiteshPuvvada/Personal-Token-With-Rust-Smart-Contracts.gitcd Personal-Token-With-Rust-Smart-Contracts
```* Install the dependencies
```bash
npm install
```* Compile this project
```bash
anchor build
```* Run tests
```bash
anchor test
```