v1.1.0
Deprecated
Deprecate global singleton for Network
. The following classes and methods take an optional network passphrase, and issue a warning if it is not passed:
Keypair.master
Keypair.master(Networks.TESTNET)
constructor for Transaction
const xenv = new xdr.TransactionEnvelope({ tx: xtx });
new Transaction(xenv, Networks.TESTNET);
constructor for TransactionBuilder
and method TransactionBuilder.setNetworkPassphrase
const transaction = new StellarSdk.TransactionBuilder(account, {
fee: StellarSdk.BASE_FEE,
networkPassphrase: Networks.TESTNET
})
See #207 and #112 for more information.
The Network
class will be removed on the 2.0
release.
Add
- Add docs for BASE_FEE const. (#211)
Fix
- Fix typo. (#213)