Solana Asset Platform allows the Issuer to issue their own custom token assets powered by the Solana blockchain. These assets could represent loyalty points, tokenized fiat, crypto assets, digital collectibles, attested assets like gold, property etc.
Solana Asset Platform consists of two products:-






Clone Repo
git clone https://github.com/viraja1/solana_asset_platform.git
Change directory
cd solana_asset_platform
Install Docker and Docker Compose
Docker install: https://docs.docker.com/install/#server
Docker Compose install: https://docs.docker.com/compose/install/
Build Docker Images
docker-compose -f docker-compose.yml build
Start Docker containers
Run the below command to launch 2 docker containers named issuer_app and buyer_app.
docker-compose -f docker-compose.yml up -d
Check Issuer App (Asset Platform)
Check Buyer App (Asset Manager)
Airdrop testnet SOL to Issuer and Buyer for testing devnet flow
docker exec -it issuer_app bash
solana airdrop 10
docker exec -it buyer_app bash
solana airdrop 10
Issue Asset using Issuer App
Issue a new asset from the Issue Assets page (http://localhost:5000/issue_asset/).
Enter the asset name as ShopCoin. Then enter valid icon url & fill amount as 1000.
Finally click on Issue button. All the issued assets are visible on the
homepage (http://localhost:5000/).
Issuer sends the asset to Buyer
Send 10 units of the Asset to the Buyer from the Issuer App
(http://localhost:5000/send_asset/). Enter Buyer address, amount as 10
and the asset identifier (Unique id visible in the issued assets page - http://localhost:5000/).
Buyer sends the asset to another address
Send 2 units of the Asset to another address from the Buyer App
(http://localhost:5001/send_asset/). Enter recipient address, amount as 2
and the asset identifier (Unique id visible in the homepage - http://localhost:5001/).
Content type
Image
Digest
Size
604.2 MB
Last updated
almost 6 years ago
docker pull internetmusic/solana-issue