Convert any Assets into Digital Tokens
Convert any Assets into Digital Tokens
Step into the future of digital assets—seamless, secure, and limitless.
Step into the future of digital assets—seamless, secure, and limitless.
gRPC
REST
Shell
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
const fs = require('fs');
const grpc = require('@grpc/grpc-js');
const protoLoader = require('@grpc/proto-loader');
const GRPC_HOST = 'localhost:10009'
const MACAROON_PATH = 'LND_DIR/data/chain/bitcoin/regtest/admin.macaroon'
const TLS_PATH = 'LND_DIR/tls.cert'
const loaderOptions = {
keepCase: true,
longs: String,
enums: String,
defaults: true,
oneofs: true,
};
const packageDefinition = protoLoader.loadSync('lightning.proto', loaderOptions);
const lnrpc = grpc.loadPackageDefinition(packageDefinition).lnrpc;
process.env.GRPC_SSL_CIPHER_SUITES = 'HIGH+ECDSA';
const tlsCert = fs.readFileSync(TLS_PATH);
const sslCreds = grpc.credentials.createSsl(tlsCert);
const macaroon = fs.readFileSync(MACAROON_PATH).toString('hex');
const macaroonCreds = grpc.credentials.createFromMetadataGenerator(function(args, callback) {
let metadata = new grpc.Metadata();
metadata.add('macaroon', macaroon);
callback(null, metadata);
});
let creds = grpc.credentials.combineChannelCredentials(sslCreds, macaroonCreds);
let client = new lnrpc.Lightning(GRPC_HOST, creds);
let request = {
account: <string>,
min_confs: <int32>,
};
client.walletBalance(request, function(err, response) {
console.log(response);
});
// Console output:
// {
// "total_balance": <int64>,
// "confirmed_balance": <int64>,
// "unconfirmed_balance": <int64>,
// "locked_balance": <int64>,
// "reserved_balance_anchor_chan": <int64>,
// "account_balance": <AccountBalanceEntry>,
// }
gRPC
REST
Shell
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
const fs = require('fs');
const grpc = require('@grpc/grpc-js');
const protoLoader = require('@grpc/proto-loader');
const GRPC_HOST = 'localhost:10009'
const MACAROON_PATH = 'LND_DIR/data/chain/bitcoin/regtest/admin.macaroon'
const TLS_PATH = 'LND_DIR/tls.cert'
const loaderOptions = {
keepCase: true,
longs: String,
enums: String,
defaults: true,
oneofs: true,
};
const packageDefinition = protoLoader.loadSync('lightning.proto', loaderOptions);
const lnrpc = grpc.loadPackageDefinition(packageDefinition).lnrpc;
process.env.GRPC_SSL_CIPHER_SUITES = 'HIGH+ECDSA';
const tlsCert = fs.readFileSync(TLS_PATH);
const sslCreds = grpc.credentials.createSsl(tlsCert);
const macaroon = fs.readFileSync(MACAROON_PATH).toString('hex');
const macaroonCreds = grpc.credentials.createFromMetadataGenerator(function(args, callback) {
let metadata = new grpc.Metadata();
metadata.add('macaroon', macaroon);
callback(null, metadata);
});
let creds = grpc.credentials.combineChannelCredentials(sslCreds, macaroonCreds);
let client = new lnrpc.Lightning(GRPC_HOST, creds);
let request = {
account: <string>,
min_confs: <int32>,
};
client.walletBalance(request, function(err, response) {
console.log(response);
});
// Console output:
// {
// "total_balance": <int64>,
// "confirmed_balance": <int64>,
// "unconfirmed_balance": <int64>,
// "locked_balance": <int64>,
// "reserved_balance_anchor_chan": <int64>,
// "account_balance": <AccountBalanceEntry>,
// }
gRPC
REST
Shell
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
const fs = require('fs');
const grpc = require('@grpc/grpc-js');
const protoLoader = require('@grpc/proto-loader');
const GRPC_HOST = 'localhost:10009'
const MACAROON_PATH = 'LND_DIR/data/chain/bitcoin/regtest/admin.macaroon'
const TLS_PATH = 'LND_DIR/tls.cert'
const loaderOptions = {
keepCase: true,
longs: String,
enums: String,
defaults: true,
oneofs: true,
};
const packageDefinition = protoLoader.loadSync('lightning.proto', loaderOptions);
const lnrpc = grpc.loadPackageDefinition(packageDefinition).lnrpc;
process.env.GRPC_SSL_CIPHER_SUITES = 'HIGH+ECDSA';
const tlsCert = fs.readFileSync(TLS_PATH);
const sslCreds = grpc.credentials.createSsl(tlsCert);
const macaroon = fs.readFileSync(MACAROON_PATH).toString('hex');
const macaroonCreds = grpc.credentials.createFromMetadataGenerator(function(args, callback) {
let metadata = new grpc.Metadata();
metadata.add('macaroon', macaroon);
callback(null, metadata);
});
let creds = grpc.credentials.combineChannelCredentials(sslCreds, macaroonCreds);
let client = new lnrpc.Lightning(GRPC_HOST, creds);
let request = {
account: <string>,
min_confs: <int32>,
};
client.walletBalance(request, function(err, response) {
console.log(response);
});
// Console output:
// {
// "total_balance": <int64>,
// "confirmed_balance": <int64>,
// "unconfirmed_balance": <int64>,
// "locked_balance": <int64>,
// "reserved_balance_anchor_chan": <int64>,
// "account_balance": <AccountBalanceEntry>,
// }
Know more
Know more
Know more
What is a Tokenized Asset?
A tokenized asset is a digital representation of ownership or rights over a physical or digital item, secured by Bitcoin. With Comet Platform, you can tokenize anything—commodities, corporate equity, government debt, bonds, stablecoins, or even loyalty points—and turn them into liquid assets that can be traded globally. Our platform provides the tools you need to power secure, efficient transactions in today’s digital economy.
Launch My Token
Launch My Token
Launch My Token
Product
Product
Product
Take Advantage of Asset Tokenization
Our platform helps you create, manage, and monitor digital assets securely and with ease
Sign Up
Sign Up
Sign Up
Create your account and choose your plan or talk with us for enterprise iniciatives.
Create your account and choose your plan or talk with us for enterprise iniciatives.
Create your account and choose your plan or talk with us for enterprise iniciatives.
Setup your preferences
Setup your preferences
Setup your preferences
Deploy your node, pick the technology you want to use, then set your access and key management controls.
Deploy your node, pick the technology you want to use, then set your access and key management controls.
Deploy your node, pick the technology you want to use, then set your access and key management controls.
Distribute
Distribute
Distribute
Invite users to apply and acquire your tokenized assets. Ensure your offerings meet compliance standards.
Invite users to apply and acquire your tokenized assets. Ensure your offerings meet compliance standards.
Invite users to apply and acquire your tokenized assets. Ensure your offerings meet compliance standards.
Issue or Redeem
Issue or Redeem
Issue or Redeem
Secure, user-friendly tools to handle issuances, redemptions, transfers, and other operations on your chosen node—user friendly design and usability.
Secure, user-friendly tools to handle issuances, redemptions, transfers, and other operations on your chosen node—user friendly design and usability.
Secure, user-friendly tools to handle issuances, redemptions, transfers, and other operations on your chosen node—user friendly design and usability.
All rights reserved. © 2025
All rights reserved. © 2025
All Rights Reserved © 2025