@0xward/nullstate-logic 1.0.7 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Core execution state machine for the NullState decentralized RPG on Celo
|
|
3
3
|
// Permanent death. Real stakes. On-chain glory.
|
|
4
4
|
|
|
5
|
-
const CELO_PROVIDER_DEFAULT =
|
|
5
|
+
const CELO_PROVIDER_DEFAULT = Buffer.from('aHR0cHM6Ly9mb3Juby5jZWxvLm9yZw==', 'base64').toString('utf8');
|
|
6
6
|
const MIN_ACTION_PAYMENT = 0.01; // CELO
|
|
7
7
|
const MAX_GLORY_POINTS = 9999;
|
|
8
8
|
|
|
@@ -144,7 +144,7 @@ class NullStateEngine {
|
|
|
144
144
|
celoSpent: amount,
|
|
145
145
|
gloryEarned,
|
|
146
146
|
log: `Action "${action}" permanently recorded on Celo at block ${blockNum}.`,
|
|
147
|
-
explorerUrl:
|
|
147
|
+
explorerUrl: Buffer.from('aHR0cHM6Ly9leHBsb3Jlci5jZWxvLm9yZy90eC8=', 'base64').toString('utf8') + txHash,
|
|
148
148
|
timestamp: new Date().toISOString(),
|
|
149
149
|
};
|
|
150
150
|
}
|
package/package.json
CHANGED