UNPKG
@xcapit/shelter-sdk
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.0
SDK for Shelter smart contracts on Stellar
github.com/xcapit/shelter
xcapit/shelter
@xcapit/shelter-sdk
/
dist
/
fake-sac
/
fake-sac.js
15 lines
(14 loc)
•
319 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{ contract }
from
"@stellar/stellar-sdk"
;
export
class
FakeSAC
{ options = {
contractId
:
'aoeuueoa'
};
async
transfer
(
{
from
, to, amount, }
) {
return
{
built
: {
sign
:
() =>
{ } }, }; }
async
balance
(
options
) {
return
{
result
:
BigInt
(
1
) }; } }