Comments (6)
@placecodex sorry for very late response, if anyone is facing this same issue please do not hesitate to speak so i will tell you the solution to this
from tatum-php.
create .env file on your Root folder
put
# Enter TATUM API KEY for Mainnet and Testnet then set your network type to mainnet or testnet
TATUM_API_KEY=
TATUM_TESTNET_API_KEY=
NETWORK=testnet
LOG_EXCEPTION=true
from tatum-php.
thats all you need to solve this issue, the lib was said to disable creating of .env by default, so you have to do this manually the code in found inside example.env
from tatum-php.
Fatal error: Uncaught TatumException: You need to set your Network from your .env file! in C:\laragon\www\tatum\vendor\tatumio\tatum-php\src\Tatum.php:57 Stack trace: #0 C:\laragon\www\tatum\vendor\tatumio\tatum-php\src\Tatum.php(42): Tatum\Tatum->InitTatum() #1 C:\laragon\www\tatum\index.php(104): Tatum\Tatum->__construct() #2 [internal function]: {closure}()
according to this error above .env needed to be created inside
C:\laragon\www\tatum
and value need to be inserted then fill all value correctly with your tatum api key and network everything will work correctly
# Enter TATUM API KEY for Mainnet and Testnet then set your network type to mainnet or testnet
TATUM_API_KEY=
TATUM_TESTNET_API_KEY=
NETWORK=testnet
LOG_EXCEPTION=true
from tatum-php.
but normally the script create .example.env which contains the .env example value, if you have hidden files to not display on your pc, make it display hidden files then you will see the .example.env then create the .env yourself by copying the .example.env file content to it.
from tatum-php.
PHP SDK version 0.1.0
was archived.
from tatum-php.
Related Issues (11)
- Undefined constant "Tatum\Sdk\Psr7\Http\CURL_HTTP_VERSION_2_0"
- Solana To And From Addresses only take strings with 43 character Limits when Wallets are 44.
- please support 12 keywords
- No transaction data in notifications
- generatePrivateKey from mnemonic BUG
- php-mcrypt not available from source HOT 2
- PHP8 support
- settype(): Invalid type
- Type mixed cannot be marked as nullable since mixed already includes null
- ERC20Currency model does not have getters and setters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tatum-php.