Skip to content

codrin-axinte/tron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Morphling CMS

TODO:

  • Packages are deleted in TronService.php line 122

  • Mini Game to keep users engaged

  • Proxy transactions

  • Pool Feature

    • Should use one or more pools to fulfill the transaction.
    • If there is not enough balance in the pool we should set the transaction to wait for manual approval.
    • If method is set to automatic then we set it to retry
  • Team members show based on the pricing plan depth

  • Withdraw Feature

    • Add percentage threshold
  • Feedback when you don't have enough money

  • Packages list

  • Separate messages for copyable texts

  • Support feature

  • [BUG] Virtual amount is not setting correctly on sync

  • [BUG] Sync is not assigning role correctly

  • Self destroy

Installation

Create an auth.json file with NOVA License credentials.

{
    "http-basic": {
        "nova.laravel.com": {
            "username": "{YOUR_EMAIL}",
            "password": "{NOVA_LICENCE_KEY}"
        }
    }
}

Install php dependencies

composer install

Link the storage folder

php artisan storage:link

Install node dependencies

 npm install && npm run prod

If you enabled queue using redis you'll have to start the worker or horizon.

php artisan queue:work

or

php artisan horizon

Install application. This will run migrations as well

php artisan app:install

Versioning the app.

php artisan app:update

Sail Installation

Run docker

sail up -d

Link storage

sail artisan storage:link

Run a worker

sail artisan queue:work

Run migrations

sail artisan migrate --seed

References

Tooling

Panels

Postman

Import the specs file from storage/app/specs folder.

Add this the script on the top level of your workspace in order to get the bearer token automatically.

const token = pm.environment.get("token");

if(token !== null && token !== undefined && token.trim() !== ''){
    return;
}

const baseUrl = pm.variables.get('baseUrl');
const userId = pm.environment.get('userId') || 1;

const postRequest = {
url: baseUrl + "/api/tokens/create",
method: 'POST',
header: {
    'Content-Type': 'application/json',
    'accept': "application/json",
},
body: {
    mode: 'raw',
    raw: JSON.stringify({ token_name: 'Postman', 'user_id': userId })
}
};

pm.sendRequest(postRequest, function (err, response) {
    const data = response.json();
    pm.environment.set('token', data.token);
    console.log("New token saved!");
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages